Random ACCESS denied problems

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
wterry
Spectator
Spectator
Posts: 1
Joined: Fri Sep 22, 2006 7:37 am

Random ACCESS denied problems

Post by wterry »

I am having a problem with random sites giving me the access denied message.

I've turned on the Logging of Access errors and it isn't specifically logging these attempts. However, if I go to something that I know is blocked, the history shows a log of it being "A-" (blocked).

My URL.TXT contains:
+all
-C:\
-D:\
-E:\
-\\
+Z:\
+\\TSCLIENT\
+javascript:
+res://
+about:blank

But again, there isn't anything logging showing why this is being denied.

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

Post by Scott »

The PWB filters use regular expressions, and the backslash has special meaning in regular expressions. To use a literal backslash you need to precede it by a backslash. Change your file to the following.

+all
-C:\\
-D:\\
-E:\\
-\\\\

The "+all" option includes all URLs so you do not need to use any "+" when using the "+all" option.

To take is a step further to prevent access to the C:\ drive but not URLs that have "C:\" in them, add the begins with regular expression.

+all
-^C:\\
-^D:\\
-^E:\\
-^\\\\

See the following thread for more information.
http://www.teamsoftwaresolutions.com/ph ... c.php?t=13

--Scott

Post Reply