Indicates that the user is faking to be a search engine, or other known service etc
Finds-out if the user is using a fake user-agent
The bellow sample makes use of the IsSpofing property to alter the duration of blocking for the firewall blocking rules.
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);
}
}
}
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