Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: alas_12 on October 21, 2002, 09:42:42 PM

Title: Best way to protect dir in i-bay
Post by: alas_12 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.
Title: Re: Best way to protect dir in i-bay
Post by: Nathan Fowler 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
Title: Re: Best way to protect dir in i-bay
Post by: jdbrown 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