0

For the download files from certain sites, you must ENTER your username and password in 'Authentication Required' window. How is this implemented?

Like this picture:

Authentication Reguired Window http://s9.uploads.im/sVCmz.png

Use 'UserPrincipal' to add 'Local User' and then use 'DirectorySecurity' to give permission, is the right way?

Bridge
  • 29,818
  • 9
  • 60
  • 82
RezaNrzdh
  • 1
  • 1
  • Place one Web.config in downloads folder and set authentication mechanism in that. – Amit Feb 05 '15 at 13:09
  • @Amit : thanks...can you please give me some examples? – RezaNrzdh Feb 05 '15 at 14:05
  • Hope this helps. http://www.4guysfromrolla.com/articles/122408-1.aspx Remeber if you want windows authenctication then specify the same and you need to handle it better by custom http handler. – Amit Feb 06 '15 at 05:48

0 Answers0