saichinnu1852 Posted August 21, 2024 Report Posted August 21, 2024 I am implementing AntiForgery into a WebApplication. Whilst I know this works server side using the AntiForgery Library by adding a hidden element and then validating it on a master page event, we have hundreds of ASPX Page WebMethods to consider when it comes to client side implementation with jQuery or reactJs. Is there a way of creating a filter to tag onto WebMethods that does an AntiForgery check? Quote
futureofandhra Posted August 21, 2024 Report Posted August 21, 2024 1 hour ago, saichinnu1852 said: I am implementing AntiForgery into a WebApplication. Whilst I know this works server side using the AntiForgery Library by adding a hidden element and then validating it on a master page event, we have hundreds of ASPX Page WebMethods to consider when it comes to client side implementation with jQuery or reactJs. Is there a way of creating a filter to tag onto WebMethods that does an AntiForgery check? Create custom attribute Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.