Skip to main content
Question

AntiForgery with ASPX Webmethods

  • Aug 22, 2024 8:46 AM UTC
  • 2 comments
  • 88 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+9
  • Principal Community Manager
  • Sep 2, 2024 6:42 AM UTC

@coolsport00 


coolsport00
Forum|alt.badge.img+23
  • Veeam Legend
  • Sep 2, 2024 5:22 PM UTC

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.