If you would like keep some content hidden from the public eye, you could switch on password protection for a certain folder - either the primary website folder or a different one below it. In case this option is turned on, a pop-up will appear every time anyone tries to open the folder in question or clicks on a direct link that goes a few levels deeper, so login info will be needed for www.domain.com/folder/image.jpg in case you have protected only the domain.com folder. If the details aren't valid, a “403 Forbidden” message shall appear and there isn't any way to get around this restriction, so you can be positive that no one shall be able access the protected content. The feature can be beneficial in a number of cases - if only certain individuals must be able to see specific files, if you are building a site and you do not want people to see it before it is completed, and so on.
Password Protected Directories in Shared Hosting
Creating a password-protected area will take just a few clicks and a few seconds if you host your sites inside a shared hosting account with us. You won't need to do anything complex - you will need to choose a domain/subdomain, to choose which folder under it should be protected, and then to type in the login name and password that'll be used to access that folder. If a number of people need their own login credentials, there will not be a problem to create numerous different usernames with access to the same exact folder. All secured folders shall appear with a padlock icon in the File Manager section, so you shall always know where this option is enabled. If you'd like to turn off the protection function for any folder, you can disable it from the very same section of the CP in which you have enabled it.