|
|
|
|
|
The property SecurityHtml property allows you to view and modify the security mechanism status of the following fields: - HTML Display controls.
- HTML Editor controls.
The security mechanism of these types of controls blocks all the potentially dangerous content (plug-ins, ActiveX, JavaScript code, etc.). Remarks: - It is also possible to manage the:
- the HTML Display control via "No permitir la ejecución de scripts JavaScript" ("Details" tab in the control description window). If this option is checked, the security mechanism is enabled.
- the HTML Editor control via "Permitir ejecución del código JavaScript en el documento editado" ("General" tab in the control description window). The security mechanism is enabled if this option is unchecked.
- "HTML Display control" is the new name of the HTML Edit control from version 25 and earlier.
// Retrieve a document on Internet HTTPRequest(gsURL) // Enable security mechanism of HTML Display control HTM_EditDoc.SecurityHtml = secHtmlMaxi // Initialize the control with the document HTM_EditDoc = HTTPGetResult()
Sintaxis
Determining if the security mechanism of an HTML control is enabled Ocultar los detalles
<Result> = <Control used>.SecurityHtml
<Result>: Boolean constant or Boolean Current security mode:
| | secHtmlMaxi (or True) (Default value) | No script is run (javascript, vbscript, etc.). No ActiveX control or plugin is displayed or run. | secHtmlNone (or False) | The scripts are run. The ActiveX controls or plugins are displayed and run. Note Scripts will not run in the field if the field's State property is set to Inactive or Grayed. |
<Control used>: Control name Name of the field to be manipulated: - HTML Display control.
- HTML Editor control.
Enabling/disabling the security mechanism of HTML Edit controls Ocultar los detalles
<Control used>.SecurityHtml = <Value>
<Control used>: Control name Name of the field to be manipulated: - HTML Display control.
- HTML Editor control.
<Value>: Boolean constant or Boolean Security mode to apply:
| | secHtmlMaxi (or True) (Default value) | No script is run (javascript, vbscript, etc.). No ActiveX control or plugin is displayed or run. | secHtmlNone (or False) | The scripts are run. The ActiveX controls or plugins are displayed and run. Note Scripts will not run in the field if the field's State property is set to Inactive or Grayed. |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|