I'm quite new to Linux, so if this is really simple then I apologise!!
I've created a number of directories (Group1, Group2, etc) and I want to force users to enter a valid username and password before they can access the files in the directories. However, each user can only access their own directory (user 'Group1' can only access the directory 'Group1', etc.). Do I need a seperate .htaccess and .htpasswd file for each directory? Also, can anyone tell me what I should put in the .htaccess file?
Ta.
I've created a number of directories (Group1, Group2, etc) and I want to force users to enter a valid username and password before they can access the files in the directories. However, each user can only access their own directory (user 'Group1' can only access the directory 'Group1', etc.). Do I need a seperate .htaccess and .htpasswd file for each directory? Also, can anyone tell me what I should put in the .htaccess file?
Ta.