Directory Privacy asks for a password before a folder opens.
Steps
- Log in to cPanel.
- Go to the Security section.
- Click Directory Privacy.
- Click Edit next to the folder.
- Select Password protect this directory, enter a name and click Save.
- Create a user with a password.
- Click Save.