|
|
you mean the password file?
Yes, it's a bad idea to have the password file in a publicly accessable directory, but the .htaccess has to be there to protect the directory (unless you do it in the httpd.conf).
So on OS X a safer place to put the password file is in /Library/Webserver. Just don't put it anywhere in /Libabry/Webserver/Documents. Use this to create a new password file called .htpasswd:
htpasswd -c /Library/Webserver/.htpasswd usernameAnd to add new users just remove the "-c". Also it's a good idea to prepend a dot (".") to your password file name so that they are hidden. Note that the way Elander described this part in his tutorial is much better -- not only is the password file in a non-readible directory, but instead of using a .htaccess file it's was done in the httpd.conf. I don't know if it's more secure not using the .htaccess file, but I do know that it's MUCH faster. Still you should use hidden names for the password files. Jima
Ignore above: posted in wrong place
this was meant to to be a reply to Elander's "WebDAV Tutorial: a warning" |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|