Last post Feb 07, 2013 05:46 AM by kaysar98
Feb 07, 2013 04:59 AM|Optimus13|LINK
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
Feb 07, 2013 05:46 AM|kaysar98|LINK
try with the following process:
right click the project folder -> properties -> security , then add a user name, 'Network Service'