這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP REST API Security

外掛說明

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.

安裝方式

  1. Install via the Plugin Directory, or upload to your plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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.

使用者評論

2020 年 2 月 6 日
This is a great plugin that gives you fine-grained control over your REST API, you can prevent public access but allow private access. This way you can disable all the gutenberg stuff for public use but are still able to use it for logged in users. It would be great to have multisite support too, so that you could protect the whole multisite from the configuration without having to apply the setting in each blog.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP REST API Security〉的開發相關工作。

參與者

將〈WP REST API Security〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.2

  • Fix array error.

1.1.1

  • Fix CSS leakage.
  • Fix array warning.

1.1.0

  • Bugfix.
  • Use actions.

1.0.0

  • Initial release.