Skip to content

nutttaro/wp-basic-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Basic Authentication

Basic Authentication for protected your development WordPress site like .htpasswd

Description

WP Basic Authentication is a plugin for protected your development WordPress site like .htpasswd and support Docker and Kubernetes (K8s)

Features:

  • Easy for setting Basic Authentication
  • Basic Authentication works like .htpasswd
  • Protected development website or demo website without .htpasswd
  • Support Docker and Kubernetes (K8s)
  • The plugin is lightweight.

Installation

  1. Upload wp-basic-authentication.zip to the install plugin page
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Authentication in the left-hand menu to start setting the plugin

Frequently Asked Questions

How to setting the plugin?

Go to Authentication in the left-hand menu to start setting the plugin

How to disable Authentication if I forgot the credentials

Rename or delete 'wp-basic-authentication' directory in plugins directory via FTP or commend line

Password Migration (v1.1.0+)

If you're updating from a version older than 1.1.0, your existing password will be automatically migrated to the new secure hashed format. You don't need to change your password - the plugin will handle this automatically and show you a success message in the WordPress admin.

This migration ensures your password is stored securely using WordPress's built-in wp_hash_password() function.

Changelog

1.1.2
  • Fix password authentication failure caused by double-hashing during save
  • Fix hash detection to support all WordPress password hash formats
  • Fix warning message HTML on settings page
1.1.1
  • Fix small issue on setting page
1.1.0
  • Hash password with automatic migration from older versions
  • Automatic password migration for users updating from pre-1.1.0 versions
  • Tested up to WordPress 6.8.1
1.0.3
  • Tested up to WordPress 6.5
  • Separate protected frontend and wp-login page
1.0.2
  • Tested up to WordPress 6.1.1
  • Add Tip me on ko-fi
1.0.1
  • Tested up to WordPress 5.8.1
1.0.0
  • Initial Release

About

WP Basic Authentication is a plugin for protected your development WordPress site like .htpasswd and support Docker and Kubernetes (K8s)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages