Re: Access of images on file server

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 11/07/03

  • Next message: David Wang [Msft]: "Re: securing ODBC connection details in ASP app's on IIS 6"
    Date: Thu, 6 Nov 2003 20:17:45 -0800
    
    

    Mapped drives are generally a bad idea because the drive letter of the
    mapping exists only for your identity and not for the web server's identity.
    Use a real UNC filepath instead.

    Read this article on how to configure ACLs on a UNC setup.
    http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/deploy/confeat/RemStorg.asp

    In your case, I would pay special attention to the fact you are crossing a
    DMZ boundary -- make sure that the internal firewall isn't blocking the web
    server access to the file server (though if the web server in the DMZ is
    able to access a file server not in the DMZ... I think the file server might
    as well be in the DMZ...).

    In particular, I think your problem is that because Windows Integrated
    Authentication is not delegatable, unless you've configured a specific UNC
    User on both web server and file server, it's all going to fail. And in the
    case of a specific UNC User or Anonymous user, unless that user account is a
    domain account, you will need to create the same identity on both web server
    and file server such that their credentials match (i.e. IUSR on the
    webserver is not the same as IUSR on the fileserver unless you've sync'd
    their password and username). Then, you need to make sure that this
    identity has both NTFS ACL to read the content AND that the UNC fileshare
    allows that identity to at least read the content AND that the web server is
    actually hitting your content as that user.

    At the end of the day, it comes down to:
    1. What user identity is the web server going to use to access the file
    server (i.e. configured UNC Username, or always Anonymous user, or passthru
    authentication with sufficient setup)
    2. Can the user credentials hop off the web server to the file server.
    Windows Integrated Authentication cannot, without delegation. Basic is
    insecure sending of username/password, so it can hop.
    3. What authorization is given to the user identity on the file server, at
    both the UNC share level and the NTFS file level

    -- 
    //David
    IIS
    This posting is provided "AS IS" with no warranties, and confers no rights.
    //
    "MJ" <anonymous@discussions.microsoft.com> wrote in message
    news:04e901c3a4b7$670e32a0$a301280a@phx.gbl...
    I have a web server setup on a DMZ with an ASP
    application that is trying to access JPEGS on a file
    server that is not on the DMZ.  I have a mapped drive
    setup on the web server pointing to the location of the
    JPEG images.  When the pop-up appears within the ASP
    application that shows the JPEGS that are available,
    there are no hyperlinks to those JPEG files (this should
    be the case if things are setup properly).  Everyone
    (including the anonymous account for this web server) has
    access to the folder with the JPEGS on the file server.
    What might I be missing here? Both anonymous and Windows
    Integrate Authentication are checked in the Internet
    Services Manager for the properties of this new site.
    

  • Next message: David Wang [Msft]: "Re: securing ODBC connection details in ASP app's on IIS 6"

    Relevant Pages

    • Re: Server is displaying "Enter Network Password" logon box when trying to access files
      ... > Our company's web server is trying to access graphics files on another ... When I run the app from Visual Studio on my localhost, ... > my localhost, I am set to connect to the file server as administrator, ... > and the same settings are on the iis on the web server. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: write with cURL
      ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... web server itself is part of the group. ...
      (alt.php)
    • Re: web service architecture question
      ... To assume that we have all the security we will ever need is a bad one. ... ways to breach a server, and the separatin of the web and app server is one ... You can use remoting or web services. ... The web server will be exposed outside the ...
      (microsoft.public.dotnet.framework.webservices)
    • RE: System.Data.SqlClient "Timeout expired" causing ASP.net web applic
      ... There are many values here that can shutdown the aspnet_wp. ... > update tables on a Web Server running SQL Server 2000. ... > formation(DataSet currentBalances): Timeout expired. ...
      (microsoft.public.dotnet.languages.vb)
    • RE: System.Data.SqlClient "Timeout expired" causing ASP.net web applic
      ... There are many values here that can shutdown the aspnet_wp. ... > update tables on a Web Server running SQL Server 2000. ... > formation(DataSet currentBalances): Timeout expired. ...
      (microsoft.public.dotnet.framework.aspnet)