ASP-WAF Web application firewall for .Net 5, .Net Standard 2.1 and .Net Core 3.x

FireWallFilter Class

Class FireWallFilter can be used to enable always on inside an MVC web application FireWallAttribute to enable the firewall on individual controllers, pages and actions.

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


public sealed class FireWallFilter


When registering the filter you do not have to add the FireWall Attribute to a controller for the firewall to protect the endpoints. Please download the latest getting started manual for more information about how to use the framework. You can download the document here


Register the firewall for always on configuration using only service settings
services.AddFireWall("License Token", "Domain key"
       , domainName: new Uri("https://www.mydomain.dll", UriKind.Absolute)
       , options =>
           options.Cypher.ApplicationPassword = "123456$even";
           options.ApplicationName = "Test domain";
           options.ApplicationTag = "ITIL-9981771";
           options.Rules.BlockRequest.BlockDuration.SlideExpiration = true;
           options.Rules.BlockRequest.BlockDuration.Expires = TimeSpan.FromSeconds(10);
           options.WebServices.IsUserApiUrl = new Uri(Links.IsUserEndpoint, UriKind.Relative);
           options.WebServices.RegisterLinksApiUrl = new Uri(Links.SiteMapEndPoint, UriKind.Relative);
           options.WebServices.BeaconApiUrl = new Uri(Links.BeaconPoint, UriKind.Relative);

   services.AddMvc(options =>

Inheritance Hierarchy


Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.