
Web Filter X allows you to use regular expressions to block web sites, directories, file types or other keywords.
The following examples demonstrate some of the different rules you can create. These can be entered on the "Web Sites" tab one after the other (seperated by a new line).
- Blocking an Entire Web Site
Example: www.facebook.com
Rule: www\.facebook\.com - Blocking a Directory
Example: Block all /download/ directories
Solution: /download/ - Blocking a Filename
Example: Block all files called sample.jpg
Solution: sample\.jpg - Blocking a File Extension
Example: Block all *.exe files
Solution: \.exe - Blocking an Exact Keyword
Example: Block the word "ads" but not "fads" or any other variation
Solution: \Wads\W - Blocking Web Sites that start with a Keyword
Example: Block any web site that starts with http://downloads.*
Solution: http://downloads\.
Note: When using a period character (or full stop) in a regular expression, you must preceed it with a backslash. That is why in the above examples you see the backslash followed by the period.
If you require further help creating these rules, you are welcome to contact us!
