Re: Accessing network file form ASP page

From: Lamberti Fabrizio (lambu_at_from_italy.it)
Date: 03/07/05


Date: Mon, 7 Mar 2005 11:23:55 +0100

your suggestion is correct but now I've got this strange problem.

When I use my asp page (try.asp) to access the text file by this url
http://IIS_WebServerName/try.asp, it is all right, but when I use this url
http://IIS_WebServerName.DomainName.Ext/try.asp , I obtain the usual error:
my asp page can't access the text file.

Can you still help me?

"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:%236ashMvIFHA.1528@TK2MSFTNGP09.phx.gbl...
> > The authentication inside asp file is made only with domain user. By
> > this domain users I can manually access to tha text file, but my web
> > server can not.
>
> This is the classic "double hop" scenario. Integrated
Authentication(NTLM)
> does not support "double hop" because the web server is not authorized to
do
> so.
>
> Authentication choices that allow double hop include:
> 1. Basic
> 2. Integrated Authentication(Kerberos)
> 3. Custom Authentication that mimics #1 or #2 in principle
> 4. Protocol Transition from (Whatever)->Kerberos
>
> The following URL should have the necessary pointers to set this up. It
> talks about things in terms of a UNC vdir, but it is really not much
> different than an ASP page accessing a UNC share.
>
>
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/remstorg.mspx
>
> I believe IIS5 supports choices #1, #2, and #3.
>



Relevant Pages

  • Fail to access Network Files by asp
    ... Your user will have to be a domain user, ... Then go to server that has ... drive by asp. ... >account has full rights of the network file, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Moving files to and from other servers
    ... You will need to execute that code as a domain user. ... One way is put the VBScript code into the ASP page, put that ASP page into a ... Or, put the code from the VBS script into a COM dll (either w/ VB6, or using ...
    (microsoft.public.inetserver.asp.general)
  • RE: Identity crisis on a WS
    ... No I have not been able to make my code work as an ASP .NET app. ... This domain user is a also a local administrator. ... > It seems like that there is something going on in the security context when code executes as a ASP .NET application. ... > Luis: Please share with us if you were you able to resolve your problem. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Accessing network file form ASP page
    ... When I use my asp page to access the text file by this url ... >> The authentication inside asp file is made only with domain user. ... > Authentication choices that allow double hop include: ... > talks about things in terms of a UNC vdir, but it is really not much ...
    (microsoft.public.inetserver.iis.security)
  • Re: Accessing network file form ASP page
    ... When I use my asp page to access the text file by this url ... >> The authentication inside asp file is made only with domain user. ... > Authentication choices that allow double hop include: ... > talks about things in terms of a UNC vdir, but it is really not much ...
    (microsoft.public.inetserver.asp.general)

Loading