Protect sensitive folders on your website by setting up password protection. TZSMM Host guides you through the steps to secure your directories in cPanel efficiently.
Access your cPanel account at https://yourdomain.com:2083 and enter your login credentials.
Scroll to the Files section and click on Directory Privacy. This tool allows you to secure folders with a username and password.
Click on the folder you want to protect. Typically, this could be a sensitive folder like admin or private.
Check the box labeled Password protect this directory and enter a name for the protected area. This name will appear when users are prompted to log in.
Create a username and strong password for the directory. This user will have access to the folder. Click Add/Modify User to save the credentials.
Open your browser and navigate to the protected directory URL (e.g., https://yourdomain.com/admin/). You should see a login prompt. Enter the username and password created in Step 5.
You can add, modify, or remove users from the same Directory Privacy interface to control access at any time.
Using cPanel’s Directory Privacy tool, you can easily secure sensitive folders with username and password protection. This prevents unauthorized access and ensures your website files remain safe. TZSMM Host provides detailed guidance for managing folder security efficiently.
34 Users Found This Useful (115 Votes)