If you'd like to keep some content hidden from the public eye, you could activate password protection for a specific folder - either the main website folder or a different one below it. If this function is turned on, a pop-up shall appear each and every time somebody tries to open the folder in question or clicks on a direct link which goes a few levels deeper, so login details shall be needed for www.domain.com/folder/image.jpg when you have secured just the domain.com folder. When the credentials aren't valid, a “403 Forbidden” message will appear and there is no way of getting around this restriction, so you can rest assured that no one shall be able access the protected content. The feature could be useful in numerous cases - if only certain individuals must be able to see specific files, if you work on a site and you don't want people to see it before it is completed, and so forth.

Password Protected Directories in Web Hosting

Setting up a password-protected area will take just a couple of clicks and a few seconds when you host your websites in a web hosting account with us. You will not have to do anything difficult - you will need to select a domain/subdomain, to choose which folder under it must be protected, and then to type the login name and password that will be used to access that folder. If a number of people need their own login credentials, there will not be a problem to set up numerous different usernames with access to the same exact folder. All secured folders will appear with a padlock icon in the File Manager section, so you will always know where this function is active. If you'd like to deactivate the protection function for any folder, you can disable it from the same exact section of the Control Panel where you have enabled it.