I saw that some people can require a password to access subfolders of the File Sharing page of a .Mac account/website.
How the heck do I do this?
I added a folder in my Public folder, but where can I determine if a password is required to enter it?
thanx
Comments
This file uses the system authentication system, and access is controlled via the "require user" line. The users you list here must have a standard account on the system.
You can tell the .htaccess file to use your own passwd file, but that is quite a long tutorial. I am sure there are many websites (google will find them for you) that can write it much better than I.
#Access file
order allow,deny
allow from all
require user username1 username2 etc
Authname WebStats
Authtype Basic
AuthAuthoritative off
AuthPAM_Enabled on
I'll try that script you sugested before, thankx