Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

DisableFirewallAttribute Class

Disables all rules and validations on an endpoint(s) by the firewall, basically it's an Always-Off for an endpoint

Namespace:  Walter.Web.FireWall.Annotations
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)


public sealed class DisableFirewallAttribute


using this attribute will expose the endpoint to DOS, CRS and Injection type of attacks


Tell the firewall to disable on this endpoint
[ResponseCache(Duration = 60,VaryByQueryKeys = new[] { "reason" })]
public IActionResult Blocked(BlockingReasons reason)
return View(reason);