(Doing this to obfuscate the ASP.NET MVC Framework in a web application.)
Renamed the cookie name with the AntiForgeryConfig static class through Helpers to Application_Start.
Global.asax
AntiForgeryConfig.CookieName = "Test";
But it is still obvious that AntiForgeryToken is used due to the input name:
Front end :
<input name="__RequestVerificationToken" type="hidden" value="blahblahblah" />
Perhaps the value smells like MVC encoding, but I'm not quite sure what is connected with this. (A different issue is valid, but comments / other approaches are welcome and appreciated independently.)
user2303264
source share