该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Clear Logout

描述

This plugin ensures that when users of your website (including site administrators), the browsers are instructed to clear all residue such as cookies and caches to enhance the security.

Clear-Site-Data HTTP header is sent when a user logs out, which supported browsers will react by removing all existing cookies, cache, and other storage. It will not remove saved passwords, permissions, adblocker rules, and other data that are supposed to be permanent.

This plugin prevents possible security vulnerabilities such as clicking the “Back” button in the browser after logging out revealing the pages that should not have been accessible after logging out. Furthermore, this cleans the browser cache, which prevents accessing authenticated media assets (such as purchased images) from the browser cache of a victim.

安装

  1. Upload the downloaded plugin directory to /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin from the ‘Plugins’ screen in WordPress.
  3. You are all set! There is nothing to configure. When users logout, the Clear-Site-Data header will be sent automatically.

常见问题

Will this plugin remove saved passwords?

No. This will clear all cookies associated with your WordPress site, but not the permanent data such as passwords, permissions, etc.

Which browsers support `Clear-Site-Data` header?

All mainstream browsers do. Google Chrome 61+, Firefox 63+, and their current mobile browsers. As of now, Microsoft Edge (non-Chrome versions) does NOT support this header.

Why does the WordPress core does not set this header by itself?

Clear-Site-Data header is a relatively new header. I will be working with WordPress core team to get this into core. Until then, we have this plugin.

评价

此插件暂无评价。

贡献者及开发者

「Clear Logout」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Clear Logout」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release.

1.1

  • Update supported up-to version number.

1.2

  • Update supported up-to version number.

1.4

  • Requires PHP 7.1+
  • Tested upto WordPress 6.3