Re: Accessing remote file server from ASP scripts.

From: Gautam Heble (GautamHeble_at_discussions.microsoft.com)
Date: 08/07/05


Date: Sat, 6 Aug 2005 23:57:15 -0700

Hi Jeff,

Thanks for your response, but let me describe the setup in detail.

The web application is not running under anonymous user. We are using
Integrated windows authentication with anonymous authentication disabled.
Using anonymous authentication is not an option.

I have even tried giving Domain\Everyone group read/write access to the
remote file share (which is not desirable), but even that doesnt seem to work.

Since this is an ASP application, I cannot figure out a way to impersonate
all authenticated users, which as I understand is quite easy to do in ASP.Net.

The server setup is:-

Web Server Box
O/S - Windows 2000 Advanced Server
Web Server - IIS 5.0 with only Integrated windows authentication enabled.

Remote File Server Box
O/S - Windows 2000 Advanced Server

Both are on the same subnet. I have synchronised username\passwords for the
users in both the servers and each server is directly accessible from the
other without needing to enter any credentials.

-- 
Gautam Heble
"Jeff Cochran" wrote:
> On Fri, 5 Aug 2005 02:51:59 -0700, Gautam Heble
> <GautamHeble@discussions.microsoft.com> wrote:
> 
> >I have an ASP application running on IIS 5.0 on a Windows 2000 machine. I 
> >need to configure access to a remote file server in order to upload/view 
> >files from the ASP programs. 
> >I do not want to give <domainname>\everyone rights to the shared folder, 
> >only the ASP script should be able to access this. 
> >
> >How do I go about giving the necessary permissions?
> 
> You give permissions to the account that needs access.  That would be
> the authenticated user or the anonymous user.  And since the anonymous
> user isn't in the Everyone group, using Everyone wouldn't help if
> that's the account accessing anyway.
> 
> Jeff
> 


Relevant Pages

  • Re: access to network file server through web server denied
    ... On IIS: Anonymous access unchecked. ... Integrated windows authentication checked. ... returns the domain user logged on that can access the network file server.. ...
    (microsoft.public.inetserver.iis.security)
  • Integrated Windows Authentication not working
    ... server via Integrated Windows authentication. ... using basic authentication which I'm not too excited about. ... Service Pack 1, IIS 6 ...
    (microsoft.public.sharepoint.portalserver)
  • Re: rpc over http ... relay
    ... Integrated Windows Authentication ... Unchecked boxes and empty fields ... How does the smtp server know what domains to service. ... Authentication tab, and make sure that Anonymous is set. ...
    (microsoft.public.exchange.admin)
  • Re: strange authentication dialog
    ... user list of my folder of website but no effect. ... the authentication type of web.config is <authentication ... You should anyway remove the "Integrated WIndows Authentication" ... OS: Windows 2003 Server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Kerberos machine authentication - apparent authentication fail
    ... > until logon), the wireless connection can kick off when it is ready. ... > was confirmed in the server event logs with IAS (i set that up as the radius ... > as an ordinary user kicks in and takes over from the machine authentication. ... > while the network sorts itself out and a double click on a network link of ...
    (microsoft.public.windows.server.security)