Need history or log

General TSS software questions and comments.

Moderators: Tyler, Scott, General Moderator

Post Reply
TRex
Contributor
Contributor
Posts: 21
Joined: Thu Nov 30, 2017 4:09 pm

Need history or log

Post by TRex »

Trying to set up PCs with access limited to online games, but most games run scripts from third-party sites. Need a list of sites PWB is attempting to access, but nothing is saved to History.txt file. Here are portions of INI file:

Code: Select all

[Browser]
RegisteredTo=
RegistrationNumber=
IniFileVersion=3.05
Title=
HomePage=\\<server>\NETLOGON\PWB3\ysgames.html
StartMaximized=True
WindowHeight=
WindowWidth=
WindowTop=
WindowLeft=
DisableMinimizeButton=True
DisableMaximizeButton=True
DisableCloseButton=False
DisableMoveWindow=True
DisableResizeWindow=True
SecureMode=True
DisableExit=False
ConfirmClose=False
ExitPage=
SaveState=False
RemoveStateOnClose=True
DisableAutoComplete=True
UseIEFavorites=False
TabHomePage=
AlwaysOnBottom=True
DisableGPURendering=True
AddressBarReadOnly=True
ShowAddressBar=False
ShowStatusBar=False
ShowActivityTimer=True
ShowInactivityTimer=True
ShowStatusBarIcons=True
DefaultZoomLevel=
ShowNavigationBar=True
ShowToolbar=True
DisableNewWindow=False
DisableNewTab=False
DisableNewWindowInit=False
StartTimersOnMouseKeyboard=False
KioskMode=False
EnableTheaterMode=False
HideCursor=False
ShowTitleBar=True
DisableCtrlEnter=False
DisableTabClose=False
DisableScrollBars=False
ShowShellBar=False
ShowStatusBarTime=True
StatusBarTimeFormat=
StatusBarTimeWidth=
SecureModeDelayStart=
DisableDynamicMenus=False
DisableSingleWordSearch=False
DisableLastTabCloseWindow=False
MapOpenToAddressBar=True
ShowKioskBar=False
AlwaysOnTop=False
CheckAlwaysOnTop=False
CheckOpenIE=False
CheckOpenCEF=False
SetFocusTab=
CommandLineHomePage=False

[SecondWindow]
StartMaximized=True
WindowHeight=
WindowWidth=
WindowTop=
WindowLeft=
DefaultZoomLevel=
MaintainZoom=False
DisableUnrequested=False
DisableShiftClick=False
OpenInParentWindow=False
AlwaysOnTop=False
DisableMinimizeButton=False
DisableMaximizeButton=False
DisableMoveWindow=False
DisableResizeWindow=False
DisableTitleBar=False
ShowNavigationBar=False
ShowAddressBar=False
ShowKioskBar=False
ShowToolBar=False
ShowStatusBar=True
EnableFullScreenWindow=True
NewPageAsHome=False
ShowShellBar=False

[ToolBars]
ShowButtontext=True
NavigationBarBreak=False
NavigationBarGripper=True
NavigationBarWidth=
ToolBarBreak=False
ToolBarGripper=True
ToolbarWidth=
AddressBarBreak=True
AddressBarGripper=True
AddressBarWidth=
ShellBarBreak=False
ShellBarGripper=False
ShellBarWidth=
AlignBottom=False
AlignLeft=False
KioskBarScrollBy=

[Dialogs]
DialogSeconds=15
AlwaysOnTop=True
ShowPopupMessage=True

[Files]
FavoritesFolder=Favorites
ShellbarFolder=
HistoryFile=history.txt
CheckURLFile=URL.txt
CheckOnTopFile=
AccessMessageFile=\\<server>\NETLOGON\PWB3\Access.html
ConfirmCloseMessageFile=
PolicyFile=
PolicyDeclineScript=
StartupScript=
ShutdownScript=
PasswordFile=
PopupOnButtonFile=
PopupOffButtonFile=
NewWindowInitFile=
CheckOpenIEFile=
FilterDLL=
SaveAsErrorMessageFile=
ExecuteFilterFile=

[WebFiles]
EnableWebFiles=False
CheckURLFile=

[Directories]
SaveAsDirectory=
DownloadDirectory=

[Security]
StationEnvironmentVariable=COMPUTERNAME
UseUniqueHistoryFiles=True
WriteHistoryFile=True
TrackURL=True <t>
CheckURLAccess=True
CheckIPAccess=True
ShowAccessDialog=True
LogAccess=True <a-> <a+> <a;>
ClearCacheOnClose=True
DisableContextMenu=False
UseCustomContextMenu=True
OnlyAccessHTTP=False
RestartOnClose=False
DisableFileDownload=False
AllowBrowseOnDeny=False
OnlyAccessInternet=False
DebugAccessString=False
LogDeniedAccess=True
ShowPolicyDialog=False
RestrictFileDownload=False
EnableSecurityBand=True
SetPWBAsDefault=False
ShowFilterStatus=False
FilterOnText=<Filter On>
FilterOffText=<Filter Off>
ShowPasswordDialog=
Password=tallyhomen
RebootOnExit=False
LogOffOnExit=False
EnableAlternateOverrideKeys=False
CheckURLMainFrameOnly=False
AccessURLRedirect=
SecondInstanceNavigateCurrent=False
DisableSecondInstance=False
CheckExecuteAccess=False

[Overrides]
ExitBrowser=
Logoff=
Shutdown=
DisableFilters=tallyhomen
ShowAddressBar=
ReReadINIFile=
OverrideURLKeyword=tallyhomen

[Inactivity]
InactivityTimer=False
InactivitySeconds=1200
InactivityMessageFile=Inactivity.html
InactivityAction=Exit
InactivityStartOnOpen=False
InactivityShowDialog=True
ResetOnMouseMove=True
ResetOnMouseButton=True
ResetOnKeyboard=True

[Activity]
ActivityTimer=False
ActivitySeconds=1200
ActivityMessageFile=
ActivityAction=Exit
ActivityWarnAt=
ActivityWarnMessageFile=
ActivityStartOnOpen=FALSE
ActivitySecondWarnAt=
ActivitySecondWarnMessageFile=

[Proxy]
UseCustom=True
ProxyEnable=
ProxyServer=
ProxyOverride=
AutoConfigURL=

[PageSetup]
UseCustom=False
Footer=&u&b&d
Header=&w&bPage &p of &P
MarginBottom=0.75000
MarginLeft=0.75000
MarginRight=0.75000
MarginTop=0.75000
Duplex=1
Orientation=1

[Buttons]
Back=True
Forward=True
Stop=True
Refresh=True
Home=True
Favorites=False
Menu=False
New=False
NewTab=False
Popup=False
Save=False
Cut=True
Copy=True
Paste=True
Zoom=True
Find=True
Print=True
PrintPreview=True
Policy=False

[MenuItems]
AppOpenIETab=False
AppOpen=
AppPrint=True
AppPrintPreview=True
AppZoom=True
AppZoomNormal=True
AppZoomIncrease=True
AppZoomDecresase=True
AppSeparator1=True
AppProperties=True
AppSeparator2=False
AppPolicy=False

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

Re: Need history or log

Post by Scott »

You have a few issues with how you have the history file set up in your INI file.

[Security]
WriteHistoryFile=True
TrackURL=True <t>
ShowAccessDialog=True
LogAccess=True <a-> <a+> <a;>

The added text in the setting is causing PWB to set it to false. Change it to the following.

[Security]
WriteHistoryFile==True
TrackURL=True
LogAccess=True

You have the history file in the same folder as the PWB executable file.

[Files]
HistoryFile=history.txt

This is normally fine as long as the folder is writable by the user logged onto the computer using PWB. This can cause the history file not to be written if you are running PWB from a network location that is not writable or PWB is located in the "Program Files *" folder, as this folder is not writable. In either of these case you should locate the history file to a folder that is writable such as a new folder off the root such as "C:\PWB\history.txt".

[Files]
HistoryFile=C:\PWB\history.txt

--Scott

TRex
Contributor
Contributor
Posts: 21
Joined: Thu Nov 30, 2017 4:09 pm

Re: Need history or log

Post by TRex »

Sorry for the slow response. Called away on family emergency, first day back.
Thanks for the help. Even though I set
HistoryFile=C:\PWB\history.txt

it is saving the history to C:\PWB\history%COMPUTERNAME%.txt — but it looks like it will give me what I need, so I'm just shrugging this off and going with the flow!

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

Re: Need history or log

Post by Scott »

You have the following set in your INI file.

[Security]
StationEnvironmentVariable=COMPUTERNAME
UseUniqueHistoryFiles=True

Which is appending the computer name to the history file name, hence the "C:\PWB\history%COMPUTERNAME%.txt"

This allows for writing the history file to a shared location.

Setting "UseUniqueHistoryFiles=False" will remove the computer name from the file name.

--Scott

Cazarez
Spectator
Spectator
Posts: 1
Joined: Sat Dec 23, 2017 3:48 am

Re: Need history or log

Post by Cazarez »

Hi Scott, do you recommend everyone do this just to avoid potential issues?

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

Re: Need history or log

Post by Scott »

It really depends on your needs.

--Scott

Post Reply