If you wish to keep some content hidden from the public eye, you can enable password protection for a specific folder - either the main site folder or a different one below it. If this option is activated, a pop-up shall appear anytime somebody tries to open the folder in question or clicks on a direct link that goes a few levels deeper, so login information will be needed for www.domain.com/folder/image.jpg if you have protected only the domain.com folder. When the credentials aren't valid, a “403 Forbidden” message will appear and there's no way to get around this restriction, so you can be sure that no one shall be able access the secured content. The function could be helpful in numerous situations - if only a number of individuals should be able to see specific files, if you are developing a website and you do not want people to see it before it's completed, etc.
Password Protected Directories in Shared Hosting
All our shared hosting
include a really handy tool that'll enable you to shield any folder in your account from unauthorized access with just 2 clicks. As soon as you log in to your Hepsia web hosting Control Panel, you'll simply have to navigate to the Password Protection section, to select the main domain or subdomain, to specify the folder that should be secured - the root folder or some folder under it, and then to input the username and the password which must be used so as to access the content in question. The function will be turned on straightaway, so in case you attempt to open the folder/website, you will be prompted to type in the login credentials. You may set up or remove many usernames for the very same folder, if necessary. If you check out the File Manager section, all password-protected folders shall be marked with a little padlock icon.