Linux 软件免费装

Lockdown WP Admin

开发者 sean212
更新时间 2015年9月28日 21:48
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 4.3.1

标签

secure 404 security login wp-admin lockdown vulnerability website security hide login rename login http auth srtfisher

下载

1.0.1 1.0.2 1.1 1.1.2 1.2 1.3 1.3.1 1.3.2 1.3.5 1.3.5.1 1.0 1.4 1.4.1 1.5 1.6 1.7 1.8 1.9 2.0 2.0.1 2.0.2 2.1 2.2 2.3 2.3.1 2.3.2

详情介绍:

This plugin will hide WordPress Admin (/wp-admin/) when a user isn't logged in. If a user isn't logged in and they attempt to access WP Admin directly, they will be unable to and it will return a 404. It can also rename the login URL. Also, you can add HTTP authentication directly from WP Admin and add custom username/password combinations for the HTTP auth or use the WordPress credentials. This doesn't touch any .htaccess files or change the WordPress core files. All the CSS/Images under /wp-admin/ are still accessible, just not the .php ones. If you enable HTTP authentication, it will add HTTP authentication to the PHP files in /wp-admin/. To contribute to the development, check out the GitHub Repository.

安装:

  1. Upload /lockdown-wp-admin/ to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单以激活本插件
  3. Navigate to the "Lockdown WP" menu

常见问题:

How can we add files to the white list to hide from the public eye? We want to have AJAX and use a custom file, but we can't because it hides it from the public.

You can add a file using the 'no_check_files' filter. Use this: function add_my_cool_filter($data) { // You have to accept the $data argument or else it will cause a system meltdown ;) $data[] = 'my-file-name.php'; // JUST the file name. return $data; } add_filter('no_check_files', 'add_my_cool_filter'); Simple.

How can I get back in if Lockdown WP Admin locked me out?

You can create a .txt file named 'disable_auth.txt' in your wp-content/plugins/lockdown-wp-admin/ folder (The file location would be /wp-content/plugins/lockdown-wp-admin/disable_auth.txt). We don't care about the content but that will disable the HTTP Auth and whatever was locking you out of your site.

更新日志:

1.0 1.0.1 1.1 1.2 1.3.1 1.4 1.4.2 1.6 1.7 1.8 1.9 A very late update, sorry! Worked to fix many issues with the admin bar and the "get_current_screen()" error. If you still see issues, please contact me! 2.0 2.0.1 2.0.2 2.1 2.2 2.3