Password-protect a folder on your website

Hide a staging site or private files behind a login prompt.

Intermediate 02 Oct 2026 1 min read Onimhost Support Team 0 views
  1. Open Directory Privacy in cPanel.
  2. Click the folder you want to protect.
  3. Tick Password protect this directory and give it a name.
  4. Create a user and password, then save.

Important: Do not protect the folder that holds your public pages by mistake. Test in a private browser window.

Share

Get Exclusive Offers & Promotions!

Stay updated with the latest deals, discounts, and special promotions.

Check Promotions

Chat with us