Koozali.org: home of the SME Server

Best way to protect dir in i-bay

alas_12

Best way to protect dir in i-bay
« on: October 21, 2002, 09:42:42 PM »
Hi,

I am looking for the best solution to protect a subfolder in an I-bay. Basically, the folder is in the subfolder Primary and will be accessible by web (website) externally and internally. There is an administration subfolder /Primary/adminonly that I would like to protect from. So should I:

Create a group using server-manager and set the folder perms w/ ownership to the group...?

Or use .htaccess? If so is it built into V5.5?

Thanks.

Nathan Fowler

Re: Best way to protect dir in i-bay
« Reply #1 on: October 21, 2002, 11:57:28 PM »
Use filesystem permissions, depending on your case you would need to create another group (assuming there are multiple administrators), chown and chgrp that folder to that group, then chmod the permissions of that folder to suite your needs.

If you have only one administrator you could:
chown admin [your folder]
chmod 700 [your folder]

Hope this helped,
Nathan

jdbrown

Re: Best way to protect dir in i-bay
« Reply #2 on: October 22, 2002, 05:49:05 AM »
Yes it did thanks.

I have 3-4 people that will need access to the php pages inside of this folder. These people will always be inside the network.

Thanks again