http handlers not working on web server but works on localhost

Posted by ZX12R on Stack Overflow See other posts from Stack Overflow or by ZX12R
Published on 2010-03-16T06:02:46Z Indexed on 2010/03/16 6:06 UTC
Read the original article Hit count: 262

Filed under:
|

i have a couple of xml files in my asp.net web application that i don't want anyone to access other than my server side code. this is what i tried..

<add verb="*" path="*.xml" type="System.Web.HttpForbiddenHandler" />

i wrote this inside the <httpHandlers>

it works well on the localhost but not in the server... the server without any hesitation displays the xml file... i have no idea how to proceed...

thanks in advance..:)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about httphandler