If you would like keep some content concealed from the public eye, you could activate password protection for a specific folder - either the primary website folder or any other one below it. In case this function is activated, a pop-up shall appear each time someone attempts to open the folder in question or clicks on a direct link which goes a few levels deeper, so login information will be required for www.domain.com/folder/image.jpg when you have secured just the domain.com folder. If the details aren't valid, a “403 Forbidden” message will appear and there's no way of getting around this restriction, so you can rest assured that nobody will be able to access the protected content. The option could be beneficial in numerous situations - if only a number of people need to be able to see certain files, if you are developing a site and you do not want people to see it prior to it being completed, and so on.
Password Protected Directories in Shared Hosting
All of our Linux shared hosting include a really useful tool which will allow you to secure any folder within your account from unauthorized access with simply 2 clicks. As soon as you log in to your Hepsia website hosting CP, you will only have to go to the Password Protection section, to choose the main domain or subdomain, to specify the folder which 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 will be turned on right away, so if you attempt to open the folder/website, you will be prompted to enter the login credentials. You could set up or remove many usernames for the very same folder, if required. When you check out the File Manager section, all password-protected folders will be marked with a small padlock icon.