Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF | .Net API for WAF Systems

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)

Syntax


public sealed class DisableFirewallAttribute

Remarks


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

Examples


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