Keep it Private: Password Protecting Directories in cPanel
Champion Stack Team
·January 22, 2026
You don't always want the whole world to see everything. Maybe you have a /proofs/ folder for clients, or a /dev/ folder for testing.
Server-Side Security
Directory Privacy adds "Basic Authentication". Before the website even loads, the browser pops up a system login box. This is extremely secure because WordPress/PHP doesn't even execute until the user authenticates.
How to Setup
- Go to Directory Privacy.
- Browse to the folder you want to lock.
- Check "Password protect this directory".
- Create a User (e.g., "client") and Password.
- Save. Now try visiting that URL!
Share privately. Host your staging sites on Champion Stack.
Launch your idea today
Don't overpay for hosting. Get the speed and support you deserve starting at just Rs.495.99/mo.
View Plans