Skip to main content
Question

AntiForgery with ASPX Webmethods

  • August 22, 2024
  • 2 comments
  • 58 views

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?

2 comments

Madi.Cristil
Forum|alt.badge.img+8
  • Community Manager
  • September 2, 2024

@coolsport00 


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • September 2, 2024

Hi @saichinnu1852 -

As this is more of a Veeam Community site, that’s where my expertise lies. If you’re looking for web application assistance, I suggestion going to a site more geared towards that expertise like spiceworks and the like.

Best.