PWB version 2.07 download.

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
allarde
Observer
Observer
Posts: 8
Joined: Thu May 05, 2005 11:17 am

PWB version 2.07 download.

Post by allarde »

Hi Scott,

Could you tell me if there's any differences between version 2.07 and version 2.04 when it comes to restricted downloads?

On version 2.04, you'd have to install and download an executable called Manage Download and modify the PWB.INI to include something like this on version 2.04,

[Directories]
SaveAsDirectory=A:\ D:\
SaveAsErrorTitle=Floppy required
DownloadDirectory=A:\ D:\
DownloadErrorTitle=Floppy required

[RestrictedSave]
EnableRestrictedSave=True
SaveToTitle=Save To...
SaveToDrives=A:\ D:\
SaveToDriveError=Please insert a disk.
SaveToDriveErrorTitle=Not Found
SaveToDriveErrorFile=C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\Text_Errors\SaveAsErrorMsg.rtf
DisableFileDownload=False

On version 2.07, it looks like this...

[Directories]
SaveAsDirectory=A:\ D:\
SaveAsErrorTitle=Floppy required
DownloadDirectory=A:\ D:\
DownloadErrorTitle=Floppy required

[RestrictedSave]
EnableRestrictedSave=False
RestrictedSaveApp=

I've already modified the [Directories] part - hope it's correct. Do I need to download and install the Manage Download EXE file for this newer version of PWB?

If not, how to I restrict public user's in downloading to the removable media's only?

Thanks Scott.

Alvin.

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

Post by Scott »

You can use the ManageDL\TDownalod system for PWB v2.07, although it has problems with sites such as Hotmail. It is essential the PWB v2.04 restricted save in an external application, so you will get the same functionality.

http://www.teamsoftwaresolutions.com/beta/ManageDL.zip

We are working on a replacement, but it is not quite finished.

--Scott

allarde
Observer
Observer
Posts: 8
Joined: Thu May 05, 2005 11:17 am

Post by allarde »

So, the configuration for version 2.07 will be the same as 2.04?

On version 2.04
[Directories]
SaveAsDirectory=A:\ D:\
SaveAsErrorTitle=Floppy required
DownloadDirectory=A:\ D:\
DownloadErrorTitle=Floppy required

[RestrictedSave]
EnableRestrictedSave=True
SaveToTitle=Save To...
SaveToDrives=A:\ D:\
SaveToDriveError=Please insert a disk.
SaveToDriveErrorTitle=Not Found
SaveToDriveErrorFile=C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\Text_Errors\SaveAsErrorMsg.rtf
DisableFileDownload=False

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

Post by Scott »

PWB v2.07 does not have a built in restricted save. You need to use an external application such as TDownload.

[RestrictedSave]
EnableRestrictedSave=True
RestrictedSaveApp=C:\PWB\TDownload.exe...

The restricted save is only used for the File Save As menu item, not for file downloads. For file downloads you can do a few things. You can use the Windows Policies to restricted the Internet Explorer download functionality PWB uses. See the following post.

http://teamsoftwaresolutions.com/phpBB2 ... c.php?t=17

The directories settings, only affect the initial Internet Explorer Download and Save directories. The settings edit the registry to set the folder the Download and Save dialogs start in, and should be limited to a single drive letter.

[Directories]
SaveAsDirectory=A:
SaveAsErrorTitle=Floppy required
DownloadDirectory=A:
DownloadErrorTitle=Floppy required

If you want to duplicate the restricted download type functionality in PWB v2.04, downlaod and install the ManageDL system. Although it was removed from the download page because it was not 100% effective in reguards to sites such as Hotmail and Yahoo, it is still available via this link.

http://www.teamsoftwaresolutions.com/beta/ManageDL.zip

--Scott

allarde
Observer
Observer
Posts: 8
Joined: Thu May 05, 2005 11:17 am

Post by allarde »

Yea, that's what I did - I used GPEDIT.MSC and made my changes in there instead of running MMC and adding snap-ins. At the end, you pretty much end up with the same snap-ins.... more or less. :roll:

Thanks for the help Scott, I will try it today and see what I come up with.

alvin.

allarde
Observer
Observer
Posts: 8
Joined: Thu May 05, 2005 11:17 am

Post by allarde »

Hi Scott,

Sorry to bother you with this again but, I've just installed the "TDownload.exe" and modified the INI file. [RestrictedSave]
EnableRestrictedSave=True
RestrictedSaveApp=C:\Program Files\TeamSofware Solution\Mange Download\TDownload.exe

When I launch the PWB.EXE, I would get multiple error messages about the "TDownload". Here are the error messages:

Windows 1
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\Drive".
OK

Windows 2
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\DownloadOK".
OK

Windows 3
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\Title".
OK

Windows 4
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\Button1".
OK

Windows 5
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\DriveError".
OK

Windows 6
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\BadFilename".
OK

Windows 7
TDownload
Error opening registry "HKEY_LOCAL_MACHINE\Software\TeamSoftware Solutions\TDownload\DownloadOK".
OK

Windows 8
RETRY or Cancel

When you click on RETRY - it would just continuously pop up with RETRY or Cancel pop up window. But, when you click on cancel - all the error message stops popping up. I have not modified the registry or edited the gpedit.msc. I must've missed something. What did I miss?

Thanks Scott,

aa

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

Post by Scott »

Did you run "TDownloadSetup" to setup TDownload?

--Scott

allarde
Observer
Observer
Posts: 8
Joined: Thu May 05, 2005 11:17 am

Post by allarde »

Yes, I installaed it both the MSI and the EXE. Both give the same error's - and both seems to be not adding the registry keys in the registy.

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

Post by Scott »

Are you running the setup applications with a Windows user account that has write access to the indicated registry keys?

--Scott

allarde
Observer
Observer
Posts: 8
Joined: Thu May 05, 2005 11:17 am

Post by allarde »

Yup..., installed the application both the MSI and the EXE as a local administrator.

mbhamp
Participant
Participant
Posts: 13
Joined: Wed Jan 07, 2004 4:46 pm

Post by mbhamp »

What's new with this? We want to enable patrons to save to a: or usb drive only.

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

Post by Scott »

Your best bet is to use Windows Group Policies to restrict the IE Save dialog as detailed in this post.

http://teamsoftwaresolutions.com/phpBB2 ... c.php?t=17

We were not able to gain 100% usability with the ManageDL solution.

--Scott

User avatar
Philip - Long Beach NY
Benefactor
Benefactor
Posts: 82
Joined: Fri Feb 28, 2003 2:30 pm

Post by Philip - Long Beach NY »

I've posted a message in the other thread in regards to managing downloads an email attachments using TrustNoExe. I think it's a good alternative than resorting to Group Policies and you can allow your patrons to save to any drive; A, USB, CD-RW. It will allow them to download any file but not run any exe. Even if they come in with a program on a usb or floppy, TNE will detect it and deny access to the executable, preventing it from running. It even allows a customized message that a patron will see that there is a reason they can't perform such operations. Faronics (makers of Deep Freeze) makes a similar product, but TrustNoExe is free. :)

http://www.beyondlogic.org/solutions/tr ... no-exe.htm

Give it a try.

P.S. Nothing against Group Polices, Scott. :(
Complexity is the enemy of security
-- Steve Gibson

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

Post by Scott »

I am all for innovative applications, Trust no EXE looks like it should work very well.

--Scott

GregP
Benefactor
Benefactor
Posts: 90
Joined: Thu Mar 13, 2003 12:34 am
Location: QLD Australia

Post by GregP »

If anyone is interested as well I'm working on two solutions to this sort of problem.

1. A proxy dll to replace comdlg32.dll which provides the standard OPEN/SAVE dialogs for most windows applications. IE, notepad and explorer being notable examples, but most programs piggy-back off this dll for their dialogs.

2. Another dll using global hooks to interrupt MS office products OPEN/SAVE dialogs. Why they couldn't use standard dialogs like the rest of us have to I don't know :(

GregP

Post Reply