Knowledgebase

How to Protect a Directory with a Password in cPanel Print

  • 0

Lock down staging sites or private admin folders with HTTP Basic Auth.

Step-by-Step Instructions

  1. Open Files → Directory Privacy in cPanel.
  2. Select the folder and check 'Password protect this directory'.
  3. Create an authorized username and password.
# Great for keeping staging sites hidden from Google and public visitors.

Pro Tip: You can add multiple authorized users to the same protected folder.

Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.


Was this answer helpful?

« Back