Mar 12 14 9:51 pm
Mar 20 14 10:55 am
Event.SetData("Expected-MAC", Result)
Event.GetData("Expected-MAC") == Session.MACAddress
Request.Headers.Get("User-Agent").Contains("Skype")
Mar 26 14 8:33 pm
adrien wrote:1. Locking MAC and IP address. There's currently no way to do this in Web Access Control, although it may be possible in flow-chart policy. Are you concerned about people changing their IP address? We find those sort of things may be better dealt with internally (e.g. HR warnings for inappropriate behaviour), but depends on your organisation and who your users are.
You could use a map lookup in flow-chart policy to set some event data. For instance have a map of IP to expected MAC address (Result), and set Event Data for expected MAC to the result.
e.g in Map result, use something like
- Code:
Event.SetData("Expected-MAC", Result)
Then you could test the client actual MAC vs expected MAC from the map, and act accordingly. E.g. with an expression evaluator test
- Code:
Event.GetData("Expected-MAC") == Session.MACAddress
And do whatever you want depending on whether they match or not.
2. Blocking skype. If these rules are checking the User-Agent string in the request, you can block based on this in flow-chart policy as well. You can test if the request header contains "skype" as so:
- Code:
Request.Headers.Get("User-Agent").Contains("Skype")