If you would like keep some content hidden from the public eye, you can switch on password protection for a particular folder - either the main site folder or another one below it. In case this function is turned on, a pop-up will appear anytime anyone tries to open the folder in question or clicks on a direct link which goes a few levels deeper, so login information shall be required for www.domain.com/folder/image.jpg when you have secured just the domain.com folder. If the credentials are not valid, a “403 Forbidden” message will appear and there isn't any way of getting around this restriction, so you can be sure that no one shall be able access the secured content. The feature can be helpful in numerous cases - if only a few individuals should be able to see specific files, if you are building an Internet site and you don't want people to see it before it's completed, etc.

Password Protected Directories in Hosting

All our Linux hosting packages include an incredibly convenient tool which will enable you to protect any folder within your account from unauthorized access with only 2 clicks. When you log in to your Hepsia hosting Control Panel, you'll just 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 type in the username and the password that should be used to access the content in question. The function will be activated straightaway, so if you try to open the folder/website, you'll be prompted to input the login info. You may create or remove a number of usernames for the exact same folder, if necessary. If you check out the File Manager section, all password-protected folders will be marked with a small padlock icon.