|
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:
- Copy NPPBS60.DLL to the plug-in's directory on each client's workstation.
- Perform all other client setup steps, as described in Building Internet Applications with PowerBuilder.
To use the secured version of the PowerBuilder window ActiveX:
- Install and register PBRXS60.OCX on the workstation used for HTML page creation.
- Use the Class ID for PBRXS60.OCX when specifying the Object element for a secured application.
- (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.)
- 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
|