7/19/2023 0 Comments Password on folderThat’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. To encrypt the document simply click on File > Protect and in the pop-out menu, select Encrypt with Password. 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. 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.
0 Comments
Leave a Reply. |