AuthType Basic > > require valid-user > [Example .htaccess file][5] **IMPORTANT:** - HTAccess must be supported and enabled on your server - Passwords are case sensitive - Keep .htpasswd files in a secure directory [1]: http://forum.webflow.com/t/password-protection-for-individual-pages-and-folders/5891 [2]: http://www.4webhelp.net/us/password.php [3]: http://webdesign.about.com/od/htaccess/ht/hthtaccess.htm [4]: https://www.dropbox.com/s/d3xv5ssqouzeade/.htpasswd?dl=0 [5]: https://www.dropbox.com/s/ayjvw4k4uc0th3u/.htaccess?dl=0" />
Unable to connect, retrying...
Online collaborative whiteboard. Powerful, engaging with timer, emoji's, commenting and voting.
Search for RSS feeds

How to password protect individual pages or folders using .htaccess

At the moment, it is not possible to password protect individual pages or folders using Webflow. However, this has been a requested feature and we hope to include it as an option in the future. If you’d also like us to add this feature, please add your thoughts on this [thread][1]. In the meantime, it is possible to password protect individual pages using an .htaccess file after exporting. To do that, follow the instructions below: 1. **Create and upload .htpasswd file** Using a text editor, create a file named .htpasswd, add an [encrypted][2] username and password to it, and upload it to a [secure][3] directory on your server. >Example: admin:96WPTkzGTEPxw [Example .htpasswd file][4] 1. **Create and upload .htaccess file** Using a text editor, create a file named .htaccess, add the following code, and upload it to the directory that has the page you want to protect in it. > Example: > AuthUserFile /.htpasswd > AuthName "Name of Page" > AuthType Basic > > require valid-user > [Example .htaccess file][5] **IMPORTANT:** - HTAccess must be supported and enabled on your server - Passwords are case sensitive - Keep .htpasswd files in a secure directory [1]: http://forum.webflow.com/t/password-protection-for-individual-pages-and-folders/5891 [2]: http://www.4webhelp.net/us/password.php [3]: http://webdesign.about.com/od/htaccess/ht/hthtaccess.htm [4]: https://www.dropbox.com/s/d3xv5ssqouzeade/.htpasswd?dl=0 [5]: https://www.dropbox.com/s/ayjvw4k4uc0th3u/.htaccess?dl=0

Feed: Related: