![]() That’s it! You’ve successfully password protected your website. Your browser does not support the video tag. For example, if you wanted to protect your entire website you could place the. htaccess file above will protect all the files in the folder it is uploaded into, and the sub-folders under it. htpasswd file can access your folder, by using valid-user everyone in the file can view the folder. /.htpasswd path indicates the file is located two folders above the current directory, to point to a file within the same directory for example, you could use. /.htpasswd with a relative path to the location of your. Tells the web server where to find the username/password file. ![]() Sets the title of the username/password box that will popup when someone tries to view your protected page. Other configuration options in Password Folder include the ability to block reading and/or writing access, so that the protected files cant be read. Let’s go through the parameters you’ve just set:ĭefines the type of authentication the web server will use, ‘Basic’ is perfectly adequate for what we need. Enter the following lines of text within the file:.htaccess (without any additional file extension). Create a file using a text editor such as Notepad or TextEdit.On the General tab, click the Advanced button. Right-click on that file and select Properties in the drop down menu. htaccess file to tell the web server what folder you want to protect and what username/password file to use. Select the file or folder you want to encrypt. ht, but it’s recommended that the password file is not in a publicly accessible folder. Our hosting servers will block web access to any files beginning with. Please note: Instructions on uploading the file to your website can be found here.įor extra security make sure that it is outside of your web folder so that it can never be accessed by someone going to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |