Authenticate a client in classic mode IIS 7.0 RRS feed

  • Question

  • User-1928690317 posted

    I have a virtual directory in IIS, where I am keeping some of my files. I need to allow , only the clients, which requests with a specific username and passsword, to download the file. 

    ie, If a client request for a file [http get] i should verify the client is authenticated. I must keep the virtual directory in classic mode - No managed code mode. Without using a script, can I achieve this by any of the IIS settings. 

    Thanks in advance


    I have got the solution which will work in Integrated mode. ie, adding an HTTP module will do the job.

    But I need the same thing to be done in Classic mode. I am adding the Module in the Web.config file. But it is having no effect. 

    Anybody have an idea on how Global.asax works on classic mode..

    Any comments are welcome.. plz

    Thursday, February 7, 2013 4:59 AM


  • User-1130897084 posted

    try with the following process:

    right click the project folder -> properties -> security , then add a user name, 'Network Service'

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 7, 2013 5:46 AM