お問い合わせ
image

Basic Auth Manager WordPress Plugin

制作・開発
profile

Iftekhar Eather

Protecting your website’s sensitive pages is crucial for maintaining security. Introducing Basic Auth Manager, a WordPress plugin that allows you to easily secure specific pages using Basic Authentication. Whether you’re working with static or dynamically rewritten URLs, this plugin has you covered.

Key Features of Basic Auth Manager

  1. Restrict Specific URLs: Protect URLs like /en/hello-world/ or /tw/sample-page/ with Basic Authentication.
  2. Dynamic Language-Based Protection: Handle URL rewrites caused by plugins like Transpress.
  3. Secure Credential Management: Use .htpasswd to store encrypted credentials.
  4. Fallback Logic: Protect rewritten URLs using WordPress hooks.
  5. Admin Panel Configuration: Easily manage settings via a user-friendly interface.

How It Works

  1. Primary Enforcement with .htaccess:
  • The plugin dynamically updates .htaccess to enforce authentication for specific URLs.
  1. Fallback with WordPress Hooks:
  • If .htaccess rules fail (e.g., due to dynamic rewrites), the plugin ensures protection using the template_redirect hook.
  1. User Role Exceptions:
  • Assign roles that bypass authentication when logged in.
  1. Scenarios:
  • Protect /en/hello-world/ while leaving /en/about/ unrestricted.
  • Secure /admin/secure-data/ without impacting other admin pages.

Benefits of Using Basic Auth Manager

  • Enhanced Security: Protect sensitive pages from unauthorized access.
  • Seamless Integration: Works with WordPress and plugins like Transpress.
  • Flexible Settings: Customize authentication for specific URLs.
  • User-Friendly: Configure everything via the WordPress admin panel.

How to Install and Configure

  1. Install the Plugin:
  • Download the plugin from the plugin repository. Upload it to your site via the Plugins > Add New page.
  1. Activate the Plugin:
  • Go to Plugins > Installed Plugins and activate Basic Auth Manager.
  1. Configure the Settings:
  • Navigate to Settings > Basic Auth Manager. Add a username, password, and a list of URLs you want to protect. Select roles to exclude from authentication.
  1. Save Settings:
  • Click the Save Changes button to apply your configuration.

With Basic Auth Manager, securing specific pages on your WordPress site has never been easier. Whether you’re managing a small website or a multilingual portal, this plugin provides robust and flexible protection.

Ready to enhance your website’s security? Download Basic Auth Manager and start protecting your pages today!

関連投稿

blog-thumb

Managing Multiple GitHub Accounts: How to Fix “Permission Denied” Errors

Have you ever tried to push code to your personal GitHub repository, only to be met with a frustrating error like this? ERROR: Permission to person...

blog-thumb

AI FOMOを乗り越える

AI FOMOを乗り越える —— 新技術の追求から課題解決への転換 ...

blog-thumb

コンテキストの限界を突破する

コンテキストの限界を突破する —— 「読む」AIから、「文脈を創る」AIへの進化 ...