Re: right to files on mapped drives throught IIS and ASP.NET

From: Bryan Donaldson (bryandonaldsonREMOVETHIS_at_REMOVETHISmindspring.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 10:20:37 -0500

Nope - that wont work. The problem is there are 3 systems in the problem and
in most cases, the third system (with Foxpro files) doesn't know who the
user is that's attempting to access the files (the user running the browser)
because the web server was never given the user's password to pass along.
(look up Delegation and it's ramifications to Windows security)

The ONLY way I got that to work was to use Basic authentication and make
your user's log into your web application with valid credentials on the
network. then, when the web server uses his credentials to access the
third system, he's
authenticated.

The other solution you have is to put the files on the Web server, and use
integrated windows authentication.

Then, when the application goes off to the third
"chris" <Nospam@nospam.be> wrote in message
news:uj24pKs9DHA.1128@tk2msftngp13.phx.gbl...
> Hello,
>
> I tried but it it did not work. The data is on another server and the
aspnet
> user (from the webserver) can not be supplied on the databaseServer.
> So i created another user with administrator rights. and used this as a
> anonymous user . This user has rights on the webserver and on the database
> server.
>
> Any other suggestions ?
>
> Thanks
> Christine
>
>
>
> "A Lonely Programmer" <SpamaLinuxUser@NoSpamForMe.com> schreef in bericht
> news:%23mupLLj9DHA.2404@TK2MSFTNGP11.phx.gbl...
> > Instead of setting anonymous user in the IIS properties, uncheck that
box
> > entirely and use window authentication. I'm pretty sure this will work
> > "chris" <Nospam@nospam.be> wrote in message
> > news:uRH1cHj9DHA.3428@tk2msftngp13.phx.gbl...
> > > Hello,
> > >
> > > On a local website but i want to access data on a remote drive (a
mapped
> > > drive). The data are Foxpro files on a directeory of a mapped drive.
> > >
> > > I have a problem with security ( no tabel can be opened error 52 in
> > foxpro )
> > >
> > > I search the web for a solution.
> > >
> > > Server 1 = Windows 2000 (Webserver) and server2 = database server (NT
> > > server)
> > >
> > > The two server belong to the same domain.
> > >
> > > i created a user on the databaseserver (domainserver) who has
> > administrator
> > > rights .
> > >
> > > On the webserver
> > >
> > > I already used impersonate="true" in the config.web file
> > >
> > > I added this new user on the webserver
> > >
> > > and in the IIS : anonymus is set on with this new created user with
his
> > > paswoord
> > >
> > > ON the DatabaseServer
> > >
> > > the database files themselves have full control for the user created.
> > >
> > > But still get no rights
> > >
> > > Does anyone know what i am doing wrong ?
> > >
> > > Christine
> > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • iis6 passthrough authentication from outside the domain
    ... i havent found one to make things ... the web server i am dealing with runs outside of our domain, ... is fine for 99% of the things we need to run with public access. ... windows authentication in the domain. ...
    (microsoft.public.inetserver.iis.security)
  • Re: security works for VPN users, doesnt for local
    ... What machine is the VPN machine? ... The web server by chance? ... it uses Windows authentication, retrieving roles from ... "Directory Security" tab in IIS i have: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Planning active directory integration
    ... If the web server is a domain member and you use Windows authentication in ... > I was thinking to use active directory for the authentication, ...
    (microsoft.public.dotnet.security)
  • Windows authentication failing
    ... I have a very small website, 1 page right now, it is for internal use ... I have anonymous access disabled and windows authentication ... checked to make sure the domain accounts requesting the page have ... web server isn't getting my credentials automatically. ...
    (microsoft.public.inetserver.iis.security)