User Tools

Site Tools


techstaff:personal_homepage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
techstaff:personal_homepage [2016/03/29 09:46] – [Password protecting a directory] kauffmantechstaff:personal_homepage [2016/03/29 09:53] kauffman
Line 46: Line 46:
  
 ====== Password protecting a directory ====== ====== Password protecting a directory ======
- +Please be aware that this not provide any real security and only keeps honest people honest. People viewing your page with a web browser will be required to provide a password. However, since files in your ~/html directory must be world readable to be seen by the server, anyone can view your html files directly.
-Password protecting your web pages +
-Note: People viewing your page with a web browser will be required to provide a password. However, since files in your ~/html directory must be world readable to be seen by the server, anyone with a CS account can view your html files directly.+
  
 Create new password file (with a user): Create new password file (with a user):
Line 62: Line 60:
 require valid-user require valid-user
 </code> </code>
-Now set the correct permissions on the .htaccess file.+Now set the permissions on the .htaccess and .http_passwd file.
 <code> <code>
-chmod 644 .htaccess+chmod 644 .htaccess .http_passwd
 </code> </code>
 +
/var/lib/dokuwiki/data/pages/techstaff/personal_homepage.txt · Last modified: 2021/09/22 16:16 by ctopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki