If you want to keep some content hidden from the public eye, you could switch on password protection for a given folder - either the main website folder or another one below it. In case this function is enabled, a pop-up will appear anytime somebody attempts to open the folder in question or clicks on a direct link which goes a few levels deeper, so login information will be necessary for www.domain.com/folder/image.jpg in case you have secured just the domain.com folder. When the credentials are not valid, a “403 Forbidden” message shall appear and there's no way to get around this restriction, so you can be sure that nobody will be able to access the shielded content. The function can be helpful in a variety of situations - if only a few people should be able to see certain files, if you are developing a website and you don't want people to see it before it's completed, etc.

Password Protected Directories in Cloud Web Hosting

All of our Linux cloud web hosting come with a very handy tool that'll enable you to protect any folder in your account from unauthorized access with only 2 clicks. When you log in to your Hepsia hosting CP, you'll only have to visit the Password Protection section, to choose the main domain or subdomain, to specify the folder that should be protected - the root folder or some folder under it, and then to enter the username and the password that have to be used to access the content in question. The function shall be active at once, so in case you try to open the folder/website, you will be prompted to input the login info. You could create or remove many usernames for the same folder, when necessary. If you navigate to the File Manager section, all password-protected folders will be shown with a tiny padlock icon.