locked
ASP .Net and network share RRS feed

  • Question

  • My web site is running on machine named webserver at http://webserver

     

    Impersonate is true in web.config and application uses integrated windows authentication

     

    A test web page displays a textbox and a button

     

    The code for button click event looks like 

     

    lblAccess.Text = Directory.Exists(txtSharedLocation.Text).ToString();

     

    I am getting following results

     

    Network share Path

    While Accessing from webserver itself

    While Accessing from any other machine

    \\webserver\sharedlocation

    true

    true

    \\someotherserver\sharedlocation

    true

    false

     

    Is this default behavior for ASP .Net?

     

    Regards

    Ajay

    Saturday, November 11, 2006 12:32 AM

Answers