Restricted access to sub-folder in iis6 doesn't work?

Posted on 16th Feb 2014 by admin

Basically I'm trying to add restriction to sub-folder (which contains pdf) in web.config for iis6 as below.
It doesn't work at all.





























----------------------------------------------------------------------------

It works only if changed to



But there are two login area's one for admin and other for site.

--------------------------------------------------------------------------------

Tried also adding web.config in virtual directory for sub-folder library/pdf in iis6. Added .pdf extension to mappings with aspnet_isapi.dll











Any help plz very urgent.

Other forums