Access network resources from ASP.NET

From: Dima Semensky (dsemen_at_bellsouth.net)
Date: 10/23/03

  • Next message: wonder_koko: "Re: .net security books"
    Date: Thu, 23 Oct 2003 10:55:28 -0400
    
    

    Hi!

    after extensive research of this topic, I'm still not sure what is
    "official" way to do it.

    Task:

        1. User submits some request to ASP.NET application and the app should
    write the result to a network share.
        2. Integrated Authentication must be used
        3. No open password are allowed to be specified in any config files
        4. Can't assign special domain user as Local Administrator

    Problem:

        With default setup, it is not possible due to security reasons.

    Related topics:
        - impersonation
        - machine.config - processModel.userName
        - IUSR_MACHINE user
        - delagation

    Here is where I'm stuck: I'd like to use impersonation like this:
        <identity impersonate="true" userName="Bob" password="pwd" />

    but this topic explains that it's not possible:
    http://groups.google.com/groups?q=impersonate+Logon+failure:+unknown+user+name+or+bad+password.++group:microsoft.public.dotnet.*&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=microsoft.public.dotnet.*&selm=uzT4T%23%23wCHA.2680%40TK2MSFTNGP09&rnum=1

    Any ideas?

    Dima Semenskyy.


  • Next message: wonder_koko: "Re: .net security books"

    Relevant Pages