Title: Security plugin blocks REST API
Last modified: April 8, 2026

---

# Security plugin blocks REST API

 *  [fkappel](https://wordpress.org/support/users/fkappel/)
 * (@fkappel)
 * [2 months ago](https://wordpress.org/support/topic/security-plugin-blocks-rest-api/)
 * My mobile app integration uses /wp-json/ endpoints and gets blocked as suspicious.
   Can I whitelist specific endpoints without disabling protection globally?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Gergana Petrova](https://wordpress.org/support/users/gpetrova/)
 * (@gpetrova)
 * [2 months ago](https://wordpress.org/support/topic/security-plugin-blocks-rest-api/#post-18875510)
 * Hello [@fkappel](https://wordpress.org/support/users/fkappel/), 
   Based on the
   description of the issue, the most likely cause is the Lock and Protect System
   Folders feature.
 * To resolve this, you can add a [custom filter](https://www.siteground.com/tutorials/wordpress/security-optimizer/custom-filters/#whitelist-a-specific-script-from-lock-and-protect-system-folders)
   to whitelist your mobile app’s script without disabling the protection globally.
   
   In case the block is different – please provide a bit more information or if 
   you are a SiteGround customer – submit a support request from your Client Area,
   so we can further check the case on our end. Best Regards,Gergana Petrova

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsecurity-plugin-blocks-rest-api%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/sg-security/assets/icon-256x256.gif?rev=2971855)
 * [Security Optimizer - The All-In-One Protection Plugin](https://wordpress.org/plugins/sg-security/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-security/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gergana Petrova](https://wordpress.org/support/users/gpetrova/)
 * Last activity: [2 months ago](https://wordpress.org/support/topic/security-plugin-blocks-rest-api/#post-18875510)
 * Status: not resolved