Limiting a user to one site.

General TSS software questions and comments.

Moderators: Tyler, Scott, General Moderator

Post Reply
Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Limiting a user to one site.

Post by Scott »

Use the PWB URL filter to allow only a specific web site.

Eable the PWB URL filter by setting the following in the INI file.

[Security]
...
CheckURLAccess=True
#CEF Only
CheckURLMainFrameOnly=True
...

Edit the URL filter file listed in the following INI key to allow only the one domain.

[Files]
...
CheckURLFile=URL.txt
...

For example to keep PWB on the TeamSoftware Solutions web site, put the following in your URLs filter file.

-all
+JavaScript
+About:Blank
+https://www.teamsoftwaresolutions.com

This would keep PWB to only URLs that contain "https://www.teamsoftwaresolutions.com". If you want to get even more restrictive, use the regular expression begins with to only allow URLs that begin with https://www.teamsoftwaresolutions.com.

Here is a link to a post that discusses the PWB filters.
http://teamsoftwaresolutions.com/phpBB2 ... c.php?t=13

--Scott

wgragg
Participant
Participant
Posts: 18
Joined: Thu Apr 15, 2004 9:00 am

Re: Limiting a user to one site.

Post by wgragg »

Thanks Scott. That worked.

Post Reply