Re: Impersonation of a specified account to archive to File Shares
- From: "Popezilla" <cp@xxxxxxxxxx>
- Date: 17 Mar 2007 20:24:51 -0700
On Mar 13, 3:47 pm, "Aethyrial" <aram.malin...@xxxxxxxxx> wrote:
What I'm attempting to do is make a basic extension of the
System.IO.File class with Copy and Move methods, but what I need to be
able to do is provide it with a credential to perform the file
operations in a new thread (for example I would have an Active
Directory account DW_Archiver with access to //server/folder). The
hope of this is to keep from having custom app pools because of file
access needs.
I'm not very familiar with impersonation and threading (or whichever
methodology I need to accomplish my goal), but hopefully someone can
point me towards some useful information or perhaps a recommendation
of a better way of implementing this.
Thanks
I believe you want to follow this article in your code:
http://west-wind.com/weblog/posts/1572.aspx
I've used it to temporarily impersonate a higher priveleged user in
order to accomplish a particular operation, and then I release the
identity when I'm through with the operation.
.
- References:
- Impersonation of a specified account to archive to File Shares
- From: Aethyrial
- Impersonation of a specified account to archive to File Shares
- Prev by Date: Re: identity impersonate=true masks the identity of the app pool for trusted sql connections
- Next by Date: Re: identity impersonate=true masks the identity of the app pool for trusted sql connections
- Previous by thread: Impersonation of a specified account to archive to File Shares
- Next by thread: Re: Failed access to IIS metabase problem - Can anyone help please
- Index(es):
Relevant Pages
|
|