Apache authentication and file/folder access permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandromani
    New Member
    • Dec 2007
    • 16

    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
  • prabirchoudhury
    New Member
    • May 2009
    • 162

    #2
    Apache authentication and file/folder access permissions Reply to Thread

    Originally posted by sandro
    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

    Comment

    • sandeepsandeep
      New Member
      • Dec 2006
      • 50

      #3
      Used the Unix command to hanlde to file permission like chmod,chgroup,c hown... it is the best way to handle permission.

      Regards,
      Sandeep Agarwal

      Comment

      • sandromani
        New Member
        • Dec 2007
        • 16

        #4
        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.

        Comment

        Working...