I am working on locking down the web sites some computers on my domain can access. The software (IEURLLock) I?m using is taking expressions via perl for URLs and I am lost. He says look at this web page for syntax, but that isn?t helping.
http://www.pcre.org/
Here are his examples and an explanation of what?s going on:
Locations that the user navigates to will get checked against the regular expressions in this list, permitting the navigation as soon as it finds a regular expression that matches the location. If none of the regular expressions match, IEURLLock blocks access to that location.
IEURLLock uses Perl-Compatible Regular Expressions through the PCRE library. More information on this library and how to construct regular expressions exists at http://www.pcre.org/ and http://gnuwin32.sourceforge.net/packages/pcre.htm.
Put descriptive names for each regular expression into the Value Name field and put each corresponding regular expression into the Value field.
Example:
Value Name: Microsoft
Value: ^http://(www\.)?microsoft\.com(/|$)
Case-Insensitive Example:
Value Name: Sourceforge.net Project Web Sites
Value: (?i)^http://(\w)+\.(sf|sourceforge)\.net(/|$)
Can someone expand his examples to include urls like http://something.microsoft.com as an example for me please?
Thank you.
-Chuck
http://www.pcre.org/
Here are his examples and an explanation of what?s going on:
Locations that the user navigates to will get checked against the regular expressions in this list, permitting the navigation as soon as it finds a regular expression that matches the location. If none of the regular expressions match, IEURLLock blocks access to that location.
IEURLLock uses Perl-Compatible Regular Expressions through the PCRE library. More information on this library and how to construct regular expressions exists at http://www.pcre.org/ and http://gnuwin32.sourceforge.net/packages/pcre.htm.
Put descriptive names for each regular expression into the Value Name field and put each corresponding regular expression into the Value field.
Example:
Value Name: Microsoft
Value: ^http://(www\.)?microsoft\.com(/|$)
Case-Insensitive Example:
Value Name: Sourceforge.net Project Web Sites
Value: (?i)^http://(\w)+\.(sf|sourceforge)\.net(/|$)
Can someone expand his examples to include urls like http://something.microsoft.com as an example for me please?
Thank you.
-Chuck