Grant permissions programatically to write files on remote server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Carlitos

    Grant permissions programatically to write files on remote server

    Hi there,

    I do not have much experience nor knowledge about security in ASP.NET nor
    Windows, so I apologize if I sound naive in this question.

    I developed a web application and a DLL that the web application uses. This
    DLL moves files from the web server to a shared folder in a different server
    in the intranet. It seems ASPNET user account can move some files but not
    all types of files because it does not have enough permissions to do that. I
    have read about impersonation and delegates, but still haven't found how to
    make this work through programming. I am trying to get an example on how to
    programatically grant (or get, or make it work) access permissions to move
    all kinds of files from the web server to the remote server, either using
    ASPNET or a domain user, or whatever options there are.

    I appreciate any help, suggestions and examples given.

    --
    Carlitos
Working...