Include blocked URL in AccessMessageFile
Moderators: Tyler, Scott, PWB v2 Moderator
Include blocked URL in AccessMessageFile
Is it possible to show the URL of the site that caused the AccessMessageFile to be shown? I've looked through the forum but could find any references. Occasionally it will pop-up on sites that have been allowed because they contain off site elements. This would make it much easier for the user to let us know what additional sites need to be allowed. Thanks.
(BTW PWB v3 looks great so far)
(BTW PWB v3 looks great so far)
Currently it is not possible to have the URL shown in the access message.
It is however possible to log the URL in the history file, or show an access debugging dialog when a URL is denied.
To log the URL set the following in the INI file.
[Security]
WriteHistoryFile=True
LogAccess=True
To show the debugging dialog, set the following.
[Security]
DebugAccessString=True
If you need to show the URL in the access message we can add it to our to do list.
--Scott
It is however possible to log the URL in the history file, or show an access debugging dialog when a URL is denied.
To log the URL set the following in the INI file.
[Security]
WriteHistoryFile=True
LogAccess=True
To show the debugging dialog, set the following.
[Security]
DebugAccessString=True
If you need to show the URL in the access message we can add it to our to do list.
--Scott
Filter log
Thank you very much, that definitely helped.
Is it possible to only log blocked URLs? If not, I'd like to request it be added in a future release. I found the log file got large pretty quick and there is also a privacy concern. Thanks again.
Is it possible to only log blocked URLs? If not, I'd like to request it be added in a future release. I found the log file got large pretty quick and there is also a privacy concern. Thanks again.
PWB version 2.10.6c beta 01-13-2009 currently available on the Beta webstite contains loggining only denied URLs.
Copy the new PWB.EXE over the old PWB.EXE file, and add the following to your PWB v2.10.x INI file
[Security] LogDeniedAccess=True
Ensure the following is also set to true to enable the history file.
[Security] WriteHistoryFile=True
--Scott
Copy the new PWB.EXE over the old PWB.EXE file, and add the following to your PWB v2.10.x INI file
[Security] LogDeniedAccess=True
Ensure the following is also set to true to enable the history file.
[Security] WriteHistoryFile=True
--Scott
Sorry Scott, I can't seem to get it to work. I replaced the exe with the new beta, added
[Security] LogDeniedAccess=True
and made sure
[Security] WriteHistoryFile=True
but it does not write anything to the history file. I know the permissions on the file are fine, because if I set
LogAccess=True
its logs all the URLs visited. I can email my ini and url.txt files to you if you want. Thanks for your time.
[Security] LogDeniedAccess=True
and made sure
[Security] WriteHistoryFile=True
but it does not write anything to the history file. I know the permissions on the file are fine, because if I set
LogAccess=True
its logs all the URLs visited. I can email my ini and url.txt files to you if you want. Thanks for your time.
I tested it and it seems to work, although see below. Send a copy of your INI file that you are testing with to support@teamsoftwaresolutions.com and I will take a look at it.
I noticed that with "WriteHistory" set to true, both what was typed in and denied were getting logged, so I posted a new PWB v2.10.6d that writes to the log with out "WriteHistory" being set to true.
--Scott
I noticed that with "WriteHistory" set to true, both what was typed in and denied were getting logged, so I posted a new PWB v2.10.6d that writes to the log with out "WriteHistory" being set to true.
--Scott
URL vs Page Title
I was going though the log of blocked site and some of the items listed seem to be page titles instead of URLs. Is this possible? Is there anyway to have it log only the URLs? Thanks.
PWB should only be listing the URL when the [Security]LogDeniedAccess=True.
IE does present PWB with JavaScript as a URL, so this gets logged as well.
Make sure you have [Security]WriteHistory=False in your INI file. The LogDeniedAccess forces writing the history file even with WriteHistory file set to false. With the WriteHistory file set to true, you will see the titles with codes such as <p>, and <ad>. See the following post for more information on the codes.
http://teamsoftwaresolutions.com/phpBB2 ... .php?t=195
--Scott
IE does present PWB with JavaScript as a URL, so this gets logged as well.
Make sure you have [Security]WriteHistory=False in your INI file. The LogDeniedAccess forces writing the history file even with WriteHistory file set to false. With the WriteHistory file set to true, you will see the titles with codes such as <p>, and <ad>. See the following post for more information on the codes.
http://teamsoftwaresolutions.com/phpBB2 ... .php?t=195
--Scott