If I use an URL like http://mysite/myfolder/myfile.dll, I get a dialog ‘Do you want to open or save this file’. Of course, I don’t want people to be able to download and disassembly our dll’s. How can I deny people accessing such files directly ?
Share
Denying all dll’s is drastic in an asp.net site, as Silverlight etc use client dll’s that need to be available for download by the client browser.
You could use IIS Management Console or Management API’s to disable authentication on the dll’s file or directory.
Simply uncheck all authentication options and access will be denied.