469,631 Members | 1,284 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Apache authentication and file/folder access permissions

Hello,

I am working at a webbased file browser, where users will be able to access, rename, delete, etc files and folders. My question is, what is the best way to handle permissions / authentication with apache in a *nix environment? Basically what I am searching for is something that works roughly the same as the windows integrated authentication, where the commands executed on server-side are executed as the user with witch the session was authenticated and hence access is controlled by the usual file/folder permissions. So essentially, is there an authentication method that uses local users of the server and their passwords as credentials?
Thanks for any help!

sandro
Apr 12 '09 #1
3 5009
prabirchoudhury
162 100+
Hello,

I am working at a webbased file browser, where users will be able to access, rename, delete, etc files and folders. My question is, what is the best way to handle permissions / authentication with apache in a *nix environment? Basically what I am searching for is something that works roughly the same as the windows integrated authentication, where the commands executed on server-side are executed as the user with witch the session was authenticated and hence access is controlled by the usual file/folder permissions. So essentially, is there an authentication method that uses local users of the server and their passwords as credentials?
Thanks for any help!

sandro
Hey
there so many wey you could do this folder permissions Attributes. here i would mention using FTP access.

using FTP access you could change this permission. right click on file and then it would come "file Attributes" in fileZilla and "permissions..." in Ultraedit then you could give specific permissions for three different groups seperately



hope that would help you
May 7 '09 #2
Used the Unix command to hanlde to file permission like chmod,chgroup,chown... it is the best way to handle permission.

Regards,
Sandeep Agarwal
May 13 '09 #3
Thank you both. I ended up running scripts as sudo from php exec statements, giving the http user sudo access to the scripts I use for the website.
May 13 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Fran Tirimo | last post: by
8 posts views Thread by Mark | last post: by
12 posts views Thread by Joff | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.