Guard events being raised by the firewall when an GuardAction is anything but NoAction
You can interact with the action based on your own application work-flows. the bellow sample shows that users that are found to be spoofing are blocked for at-least 1 year
private void FireWall_OnGuardAction(object sender, GuardActionEventArgs e)
{
if (e.Page.User.AsFirewallUser().IsSpoofing)
{
foreach (var item in e.Page.Incidents())
{
item.Expires = Inverse.Clock().UtcNow.AddDays(300);
}
}
e.AllowGuardAction = true;
}
System.Object
System.EventArgs
Walter.Web.FireWall.EventArguments.GuardActionEventArgs
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2