If you would like keep some content hidden from the public eye, you are able to enable password protection for a certain folder - either the main website folder or any other one below it. When this function is turned on, a pop-up shall appear each time a person tries to open the folder in question or clicks on a direct link that goes a few levels deeper, so login details will be necessary for www.domain.com/folder/image.jpg when you have secured the domain.com folder. When the credentials aren't valid, a “403 Forbidden” message will appear and there is no method of getting around this restriction, so you can be certain that no one will be able to access the protected content. The option can be helpful in various scenarios - if only a few individuals must be able to see certain files, if you work on a website and you don't want people to see it before it's completed, etc.
Password Protected Directories in Shared Hosting
All our shared hosting
come with an exceptionally handy tool which will allow you to secure any folder within your account from unauthorized access with only two mouse clicks. As soon as you log in to your Hepsia website hosting Control Panel, you'll only have to navigate to the Password Protection section, to pick the main domain or subdomain, to specify the folder that needs to be secured - the root folder or some folder under it, and then to type the username and the password that have to be used in order to access the content in question. The function shall be active immediately, so if you make an effort to open the folder/website, you'll be prompted to enter the login credentials. You can create or remove numerous usernames for the same folder, if needed. When you navigate to the File Manager section, all password-protected folders will be shown with a tiny padlock icon.