If you'd like to keep some content concealed from the public eye, you can switch on password protection for a given folder - either the primary site folder or a different one below it. When this option is active, a pop-up shall appear each and every time anyone attempts to open the folder in question or clicks on a direct link which goes a few levels deeper, so login information shall be needed for www.domain.com/folder/image.jpg in case you have secured just the domain.com folder. If the credentials are not valid, a “403 Forbidden” message shall appear and there is no method of getting around this restriction, so you can rest assured that no one will be able to access the shielded content. The feature could be helpful in a variety of situations - if only a few people need to be able to see particular files, if you are developing an Internet site and you don't want people to see it before it is completed, and so on.
Password Protected Directories in Hosting
All of our hosting come with an incredibly useful tool that will enable you to protect any folder in your account from unauthorized access with simply 2 clicks. Once you log in to your Hepsia web hosting CP, you will simply have to visit the Password Protection section, to select the main domain or subdomain, to specify the folder which should be secured - the root folder or some folder under it, and then to type in the username and the password which have to be used so as to access the content in question. The function shall be activated instantly, so if you attempt to open the folder/website, you shall be prompted to input the login details. You can set up or remove many usernames for the same folder, if needed. When you check out the File Manager section, all password-protected folders shall be shown with a compact padlock icon.