By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,508 Members | 1,823 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,508 IT Pros & Developers. It's quick & easy.

Apache authentication and file/folder access permissions

P: 16
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
Share this Question
Share on Google+
3 Replies


prabirchoudhury
100+
P: 162
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

P: 50
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

P: 16
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.