If you'd like to keep some content hidden from the public eye, you could switch on password protection for a particular folder - either the main Internet site folder or another one below it. If this function is enabled, a pop-up will appear anytime a person attempts to open the folder in question or clicks on a direct link that goes a few levels deeper, so login details will be needed for www.domain.com/folder/image.jpg in case you have secured 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 rest assured that no one shall be able access the protected content. The function can be useful in various cases - if only a number of people must be able to see specific files, if you are building a website and you do not want people to see it before it is completed, and so forth.
Password Protected Directories in Shared Hosting
All our shared hosting include a really convenient tool that'll permit you to shield any folder in your account from unauthorized access with simply 2 mouse clicks. Once you log in to your Hepsia hosting CP, you will only have to visit the Password Protection section, to select the main domain or subdomain, to specify the folder that should be protected - the root folder or some folder under it, and then to input the username and the password that have to be used so as to access the content in question. The feature shall be active instantly, so if you try to open the folder/website, you'll be prompted to enter the login information. You can set up or remove multiple usernames for the same folder, if required. When you navigate to the File Manager section, all password-protected folders shall be shown with a small padlock icon.