If you'd like to keep some content concealed from the public eye, you are able to enable password protection for a particular folder - either the primary site folder or a different one below it. Whenever this feature is turned on, a pop-up shall appear each and every time somebody 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 if you have secured just the domain.com folder. In case the credentials are not valid, a “403 Forbidden” message will appear and there isn't any way to get around this restriction, so you can rest assured that nobody shall be able access the protected content. The option may be useful in a number of situations - if only a number of individuals should be able to see particular files, if you are creating an Internet site and you don't want people to see it before it's completed, etc.
Password Protected Directories in Hosting
All of our hosting include an incredibly handy tool that will allow you to shield any folder within your account from unauthorized access with only two clicks. When you log in to your Hepsia web hosting Control Panel, you will only have to visit the Password Protection section, to pick the main domain or subdomain, to specify the folder that should be protected - the root folder or some folder under it, and then to enter the username and the password that should be used so as to access the content in question. The feature shall be active instantly, so in case you make an effort to open the folder/website, you'll be prompted to enter the login info. You can set up or remove a number of usernames for the same folder, if needed. When you check out the File Manager section, all password-protected folders will be indicated by a little padlock icon.
Password Protected Directories in Semi-dedicated Servers
If you have a semi-dedicated server account with us, you'll be able to shield any content that you've uploaded using our protection tool. Its interface is as basic and intuitive as that of the Hepsia CP it's part of, so you shall not have to write any code at any time. You will simply need to select one of the domains/subdomains which you have in the website hosting account and to choose which folder needs to be password-protected - the website’s root folder or some folder below it. You can then type the username and the password, which will be stored in encrypted form in our system, and you will be ready. The protection shall be switched on instantly, so anyone that attempts to access the newly secured folder will have to type in the correct login information. In cases where various individuals must be able to access the same content, you could make a separate username for each one.