Optional - Advanced Web Filtering
Use policy code to prevent usage of Firefox
Tasks
TODO
The way to return a response header was shown in the third demo example in the training video. Keep in mind you're looking for a request header in this case, though, not a response header.
Building a regular expression to find "Firefox" in a string is pretty simple. Here's an example: .*[Ff]irefox.*
The RegExJSi.Matches(RegExJSi, STRING) function is appropriate to use here for searching.
To create the RegExJSi object you need to pass to the RegExJSi.Matches function, use ToRegExJSi(STRING).Skyhigh Code View
Skyhigh’s Web-Based UI is easy to use, but did you know that almost everything in Skyhigh SSE Cloud’s SWG is customizable? From the Web Filtering > Category, Reputation & Geo page, toggle the Code View to on to view the policy logic in code, then switch the Code View.
Tip
Pro tip: Be sure not to save any unintended changes to code view.
Switch to policy code view
- Steps
- Steps
- Steps
Test
- Steps
- Steps
- Steps
Advanced Web Filtering Tasks
- Policy code
- Test policy
Access your windows host
- Steps
- Steps
- Steps
