What are the security reasons that prevent requests from MVC / ajax?

ASP.NET MVC no longer resolves json GET requests unless explicitly permitted using JsonRequestBehavior.AllowGet . I have several AJAX requests that I would like to cache, for example, so I would like to allow GET requests to them.

What are the security implications of enabling GET requests and how can I resist them differently?

+6
json jquery asp.net-mvc asp.net-mvc-3
source share

No one has answered this question yet.

See similar questions:

one
Can an encoded HTML string be converted to JSON?

or similar:

2268
Why does the error "No Access-Control-Allow-Origin header on the requested resource" appear in my JavaScript code, but Postman doesn't?
1744
Cancel Ajax requests with jQuery
1273
How to manage redirect request after jQuery Ajax call
1137
How can I get jQuery to execute a synchronous rather than asynchronous Ajax request?
620
Ajax request returns 200 OK, but an error event is fired instead of success
288
How can I get my base webapp url in ASP.NET MVC?
242
How to cache data in an MVC application
159
Prevent caching in ASP.NET MVC for specific actions using the attribute
152
MVC 3: How to render a view without its layout page when loading via ajax?
130
How to write uncoded Json for my presentation using Razor?

All Articles