Archived topic
Question about block REST API
3 replies · Started by Longinos on December 20, 2021
Hi
Recently we have blocked the REST API for not administrators users (we don´t have users in the site, only a few administrators and don´t use comments).
I found this response https://generatepress.com/forums/topic/restrict-access-to-rest-api-just-like-generatepress-com/#post-690899
and a fewer ones about license or modules activation (that is done for administrators users).
Our aproach is block all request to wp-json in a firewall rule and permit only ip whitelisted, so these request do not reach the server.
So the question is: Have this implications for frontend users?
P.D: I know some plugins need public acces to their REST API end-point and put in place firewall rules to permit these.
Hi there,
Have this implications for frontend users?
When it comes to GeneratePress, none of our REST API stuff has any effect on the frontend. It's all backend stuff (license key activation, Site Library being populated, activating modules etc...).
Let me know if you need more info :)
Hi Tom
Thx for your response.
No problem!