Secure Mode for Plug-ins&ActiveX
\The Sandbox \PB History & Future \New In PB6 \Secure Mode
Shared Objects
Server Push
Asynchronous
Processing
DataWindow
Synchronization
Internet Tools
Window ActiveX
DW HTML
Generation
Secure Mode
Context Information
Synchronizer
Web.PB Wizard
Web Jumps
from IDE
Component
Generation
Multiplatform
Support
International
Support
Database
Connectivity
OLE
Enhancements
SCC API
Tracing &
Profiling
New Debugger
DataWindow
Enhancements
PFC
Enhancements
Ease of Use
& PowerScript
Deployment &
Execution
Component
Gallery
New In
PB 6.5

Secure mode helps to ensure that PowerBuilder applications downloaded over the Internet will not damage a client system or access information on the client system. The types of activity restricted by secure mode include:

  • External functions Calling an external function causes an execution time error
  • Certain PowerScript functions Calling a restricted PowerScript function causes an execution time error
  • Database connection Calling PowerScript functions that result in database access causes an execution time error
  • Internet access Applications running in secure mode can only establish an internet connections to the current Web server
  • E-mail Calling PowerScript Mail functions causes an execution time error
  • OLE (restricted in Netscape plug-in only) Calling PowerScript OLE functions causes an execution time error
  • Distributed computing You cannot connect to PowerBuilder application servers
  • Dynamic Data Exchange (DDE) Calling PowerScript DDE functions causes an execution time error

Uses

You use secure mode to protect client workstations from rogue applications written in PowerBuilder.

Severely restricted functionality

Running in secure mode severely restricts the PowerBuilder application running on the client workstation, denying access to the client system except for printing and (PowerBuilder window ActiveX only) using OLE commands. Because of this, secure mode may not be appropriate in all situations.

Implementation

You implement secure mode by deploying special versions of the PowerBuilder window plug-in or PowerBuilder window ActiveX, which you deploy on client workstations as appropriate:

Product

Default version

Secure version

PowerBuilder window plug-in

NPPBA60.DLL

NPPBS60.DLL

PowerBuilder window ActiveX

PBRX60.OCX

PBRXS60.OCX

DataWindow plug-in

The DataWindow plug-in displays Powersoft report (PSR files) only. PSR files are read-only. So there is not a secured version of the DataWindow plug-in (NPDWE60.DLL).

To use the secured version of the PowerBuilder window plug-in:

  1. Copy NPPBS60.DLL to the plug-in's directory on each client's workstation.
  2. Perform all other client setup steps, as described in Building Internet Applications with PowerBuilder.

To use the secured version of the PowerBuilder window ActiveX:

  1. Install and register PBRXS60.OCX on the workstation used for HTML page creation.
  2. Use the Class ID for PBRXS60.OCX when specifying the Object element for a secured application.
  3. (Optional) Install and register PBRXS60.OCX on all client workstations, ensuring that you use the same Class ID specified in the HTML OBJECT elements. (Maybe perform this step when installing the PowerBuilder deployment DLLs on the client workstation.)
  4. Perform other client setup steps, as described in Building Internet Applications with PowerBuilder.

For more information

PowerBuilder window ActiveX discussion

Building Internet Applications with PowerBuilder

List of restricted PowerScript functions

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com