The httpauth
command lets you manage user access to pages protected by HTTP Authentication. Use it to secure any folder, file, or even an entire site by requiring a username and password.
This extra layer of protection is enabled by default for WordPress login pages and the Webinoly Admin Tools section, helping defend against automated attacks and unauthorized access. It’s a simple yet effective way to safeguard sensitive areas of your site.
Learn more: Explore HTTP Basic Authentication to understand how it works, why it matters, and how it’s implemented in Webinoly. This guide covers some security considerations, and practical usage across different server contexts.
Syntax:
sudo httpauth <option>
Options:
- -add
- -delete
- -list
- -path
- -whitelist
- -wp-admin
This content is restricted to GitHub Sponsors only.
Your sponsorship helps make content like this possible!
If you have any questions, suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Discussions Area.