Last post Sep 03, 2010 08:50 AM by Zizhuoye Chen - MSFT
Aug 31, 2010 07:15 AM|ganeshg|LINK
We have created a website and for the secured files created a virtual directory and in virtual directory properties we selected Application-user(pass through authentication).If any user directly browse the files link then the browser prompts a screen for
virtual directory credentials.Here my requirement is i need to send the virtual directory credentials through the application.Please let me know.
Aug 31, 2010 09:20 AM|jacobzhang|LINK
Aug 31, 2010 09:55 AM|ganeshg|LINK
Thanks for your reply.In your code ur providing security for specified folder but in my application it is a http link.I need to provide security for the http link. Please let me know that how to provide a security for a http link through application.
Sep 01, 2010 02:35 AM|jacobzhang|LINK
think about using IIS or Webconfig authentication
Sep 03, 2010 08:50 AM|Zizhuoye Chen - MSFT|LINK
I think you can use Windows Authentication. It is based on IIS.
You can deny Anonymous user and set permission of users before browse the web site or some pages.
In web.config similar like:
<identity impersonate="true" userName="<domain>\<UserName>" password="<password>"/>
Check this links:
We can aslo use Form Authentication:
Hopes can help you.