D
David
I am installing apps on an asp.net 1.1 machine to which I have no
access to the IIS configuration. I need to lock out the viewing of
files types in a directory. As per info on the net, I added the
following in the web.config. However, when I directly address the
files via. www.testsite.com/test.logs, the system shows the file. Is
there other option I need to add to the config or is this an issue
with the way that IIS was installed on the machine?
Thanks
<httpHandlers>
<add verb="*" path="*.pdf"
type="System.Web.HttpForbiddenHandler"/>
<add verb="*" path="*.logs"
type="System.Web.HttpForbiddenHandler"/>
</httpHandlers>
access to the IIS configuration. I need to lock out the viewing of
files types in a directory. As per info on the net, I added the
following in the web.config. However, when I directly address the
files via. www.testsite.com/test.logs, the system shows the file. Is
there other option I need to add to the config or is this an issue
with the way that IIS was installed on the machine?
Thanks
<httpHandlers>
<add verb="*" path="*.pdf"
type="System.Web.HttpForbiddenHandler"/>
<add verb="*" path="*.logs"
type="System.Web.HttpForbiddenHandler"/>
</httpHandlers>