Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using wildcards in Approved Sites list

Status
Not open for further replies.

heprox

IS-IT--Management
Dec 16, 2002
178
US
In IE6 I created my own ratings system with the following:

((PICS-version 1.0)
(rating-system " (rating-service " (name "Block All Websites")
(description "This file will block all sites.")

(category
(transmit-as "m")
(name "Yes")
(label
(name "Level 0: No Setting")
(description "No Setting")
(value 0) )
(label
(name "Level 1: No Setting")
(description "No Setting")
(value 1) ) ))

...this effectively blocks everything. However now I only want to allow my users to access specific sites. What is the syntax for using wildcards in "Approved Sites" list? If I wanted to allow something like:

and
...could I just use *.mydomain.com? Also, some of my sites use javascript like :

javascript:doRptPrintDownload("P","&rptID=1004210&bStd=T&rType=C&timeframe=CURRENT&DB=L")
...I tried to use "javascript:doRptPrintDownload*" but it does not work. How would you use the "Approved Sites" list to handle javascript window open functions with wildcards (calendars, forms, etc)?
 
I figured it out last night:

*.mydomain.com

...will allow everything in that domain and:

javascript:

...will allow any javascript functions that use a redirect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top