Easy Basic Authentication – Add basic auth to site or admin area
The Easy Basic Authentication plugin provides a simple method to add basic authentication to your WordPress site. You can enable basic authentication for the entire site or only for the admin area by setting a custom username and password. Secure your site by restricting access only to authorized users. Try it on a free mock site: click here Key Features Simple Configuration: With Easy Basic Authentication, you can easily set up basic authentication for your entire website or specifically for the admin area. Set a custom username and password to ensure secure access. Admin Area Protection: If you wish to restrict access to your WordPress admin area, Easy Basic Authentication allows you to do so quickly and effectively. Only users with the correct credentials will be able to access this critical part of your site. Entire site protection: If you wish, there is an option to extend the access limitation to the entire site and not just for your WordPress admin area, Easy Basic authentication allows you to do this quickly and effectively. Only users with the correct credentials will be able to access this critical part of your site. Failed Access Logging: The plugin keeps track of failed login attempts, helping you identify unauthorized access attempts. This is particularly useful for monitoring your site’s security. Access Log: If you choose to enable this feature, Easy Basic Authentication allows you to log successful logins, providing a comprehensive overview of login activities on your site. Easy Management: The plugin’s intuitive interface makes it simple to manage basic authentication settings. You can easily enable or disable basic authentication and adjust credentials to suit your needs. Email Alert Functionality: Easy Basic Authentication includes an email alert feature to notify you of unauthorized access attempts. You can receive email alerts when someone tries to access your site without proper credentials. White List Functionality: Easy Basic Authentication now includes a White List feature, allowing you to specify trusted IP addresses exempt from basic authentication. Configure this list to grant immediate access to known users or systems without requiring credentials, enhancing convenience while maintaining security. Protect your WordPress site with basic authentication quickly and reliably. Easy Basic Authentication gives you control to ensure that only authorized users can access your online resources. Maintain your site’s security and prevent unwanted access today with Easy Basic Authentication. Usage Visit the plugin settings page to configure your desired basic authentication options. Choose whether to enable basic authentication for the entire site or just the admin area. Set a custom username and password for secure access. Monitor failed access attempts and access logs for added security. Troubleshooting: Resetting Basic Authentication If you’re having trouble logging in due to the basic authentication, you can reset it and regain access by following these steps: 1 Connect to your website via FTP. 2 Navigate to the plugin directory: wp-content/plugins/easy-basic-authentication/class/ 3 Locate the file: easy-basic-authentication-class.php 4 Find the following line: add_action( 'init', array($this,'basic_auth_admin') ); 5 Comment out that line by adding a # at the beginning: #add_action( 'init', array($this,'basic_auth_admin') ); 6 Save the file and re-upload it to your server. This will disable the basic authentication temporarily, allowing you to log in. Once logged in, you can adjust the plugin settings as needed. If you need further assistance, feel free to reach out. GitHub Repository You can find the source code and contribute to the project on GitHub: Easy Basic Authentication on GitHub
Top keywords
- authentication22×3.77%
- basic22×3.77%
- basic authentication22×3.77%
- access18×3.08%
- site14×2.40%
- admin6×1.03%
- admin area6×1.03%
- area6×1.03%
- credentials5×0.86%
- entire5×0.86%
- only5×0.86%
- users5×0.86%
User Access Blocker
User Access Blocker is a simple yet powerful WordPress plugin that allows administrators to temporarily or permanently block user access without deleting their accounts. This is perfect for situations where you need to: Suspend user access during investigations Temporarily disable accounts for non-payment Block problematic users while preserving their content Manage user access during maintenance or transitions Key Features Easy Toggle: Simple “Block Access” / “Unblock Access” button on user profiles Instant Effect: Blocked users are immediately prevented from logging in, and any active session is terminated on the spot AJAX Powered: Block/unblock users without page refresh Secure: Multiple permission checks and nonce verification Non-Destructive: User accounts, posts, and data remain intact Admin Only: Only administrators can block/unblock users Self-Protection: Administrators cannot block themselves Activity Logging: All block/unblock actions are logged for security audits Clean Uninstall: Removes all plugin data when deleted How It Works Navigate to any user’s profile page in WordPress admin Scroll to the “User Access Blocker” section Click “Block Access” to prevent the user from logging in — if they are currently logged in, they will be logged out immediately Click “Unblock Access” to restore their access Blocked users will see: “Your access has been blocked by an administrator.” Security Features Administrator-only functionality Nonce verification on all actions Permission checks at multiple levels Data sanitization and validation Secure AJAX implementation XSS protection through proper escaping Activity logging for audit trails Developer Information Hooks and Filters The plugin uses standard WordPress hooks: authenticate – To check if a user is blocked during login show_user_profile / edit_user_profile – To add the block button personal_options_update / edit_user_profile_update – To save block status wp_ajax_uabx_toggle_user_block – For AJAX functionality Database The plugin stores block status in user meta: * Meta key: uabx_user_blocked * Meta value: ‘1’ (blocked) or ‘0’ (not blocked) Uninstall The plugin includes a proper uninstall routine that removes all plugin data from the database when deleted through the WordPress admin. Support For support, feature requests, or bug reports, please visit plugin support forum or GitHub repository. Privacy Policy This plugin does not collect any personal data. It only stores block status as user metadata within your WordPress database. No data is sent to external servers. The plugin logs block/unblock actions to your server’s error log for security audit purposes. These logs remain on your server and are not transmitted elsewhere.
Top keywords