[SOLVED] purpose of json Forbidden handler in web.config?


In my web.config, the json line is commented out. I believe I did this because WiseJ was interfering with some json delivery for an API I did under the a sub-folder on the domain (WiseJ app is active on the root of the domain).


Question is, what is the purpose of the line? Is it OK to comment out? thanks.


<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Core”/>
<!– <add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” /> –>
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Core”/>

  • You must to post comments
Best Answer

To prevent an app from disclosing Default.json since it may contain app specific settings in “settings”:{}. It’s not needed by Wisej.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.