Name.comSupportArticlesAdding password protection to directories

Adding password protection to directories

Last Updated: December 12, 2023

Occasionally, you’ll want to have information on your website that only authorized users can see. To do this, you'll need to add password protection to the folder with the information you would like to be secured. Once password protection has been enabled, anyone visiting that part of your site will see a pop-up requesting a username and password, and will not load any information until they input the correct credentials. 

How to add password protection to one of your folders or directories

  1. Log into cPanel.
  2. Click File Manager under the Files heading.
  3. Right click the folder you would like to protect.
  4. Click Password Protect.
  5. Check the box for Password protect this directory.
  6. Click Save.

Under Create User, input the username and password you would like people to use to access this directory. You can add multiple users with access, and you can also add and remove user’s permissions on this page.

Contact our Support Team.

Didn't find what you need? We're here to help.

Chat with an expert

Live agent: 12am - 5pm MST, every day

Live virtual bot: 5pm - 12am MST, every day

Open a support ticket

Please choose your form and submit to our team.

Get your business online and on point

Do it all right here with tools that make every step simple.

Search domains