RE: Reading a file in my ASP.NET app
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Tue, 19 Dec 2006 11:19:07 GMT
Thanks for your reply Dave,
If the users are in the same domain with the webserver and file server, we
can programmatically impersonate our application to run under that account
and access the file share. However, if they're not in the same domain or
trusted domain, impersonate won't work and we will unable to act as the
client user(with username password) and access the remote share. For the
limited scenario, you may consider use a trusted account to retrieve the
resource(and need to check whether the account has permission in your own
code logic)
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: Reading a file in my ASP.NET app
- From: Steven Cheng[MSFT]
- RE: Reading a file in my ASP.NET app
- Prev by Date: Re: Cannot encrypt custom section in web.config
- Next by Date: Mixed authentication in ASP.NET 2.0 - Roles
- Previous by thread: RE: Reading a file in my ASP.NET app
- Next by thread: RE: Reading a file in my ASP.NET app
- Index(es):
Relevant Pages
|
|