RE: Reading a file in my ASP.NET app



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.

.



Relevant Pages

  • Re: Manage 30 XP, 2000, 98 without Domain Controller
    ... account on 98 machines) ... folders on the File Server, setup NTFS permission on each folder. ... How to prevent them from share out local folders, ... So is it possible to make the workgroup change ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Enormous security problem
    ... What is the LDAP failure return code in Netdiag? ... Are there errors on the file server perhaps kerberos errors in the system ... I had to disable account lock out in the defualt domain> policy. ... > the security log, all I have to do is select the security log and hit> refresh ...
    (microsoft.public.windows.server.general)
  • Re: Enormous security problem
    ... > Windows cannot query for the list of Group Policy objects. ... >> Are there errors on the file server perhaps kerberos errors in the system ... >>> snap in to manage the DC, shows up in the DC's security log as a failed ... I had to disable account lock out in the defualt domain ...
    (microsoft.public.windows.server.general)
  • old user account preventing networking
    ... Our office just got a new file server, ... network printer. ... everyone has a user account on ...
    (microsoft.public.windowsxp.network_web)
  • RE: A share located on another computer
    ... The connect as account need to have access this computer from network ... i.e. your file server here assuming a member or stand-alone ... Microsoft Product Service Packs ... Microsoft IIS Bookstore ...
    (microsoft.public.inetserver.iis.security)