The REST API is essential for any modern web framework, but with it comes a huge attack surface. WP REST API Security reduces the attack surface by disabling all the REST API endpoints by default, allowing you to enable only those actually needed. Those that are enabled require authentication by default, allowing you to choose which to make public.
N.B. If you are using the new Block Editor you must keep nearly all the endpoints enabled for it to work, but none need be public.
- Install via the Plugin Directory, or upload to your plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings -> WP REST API Security
N.B. Activating WP REST API Security will disable all REST endpoints – you must enable the ones you need.
Contributors & Developers
“WP REST API Security” is open source software. The following people have contributed to this plugin.Contributors
Translate “WP REST API Security” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Fix array error.
- Fix CSS leakage.
- Fix array warning.
- Use actions.
- Initial release.