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.FiltersAssembly: Walter.Web.FireWall (in Walter.Web.FireWall.dll)
Remarks
Examples
C#
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 => options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>() );