PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SecurityHtml (Property)
In French: SécuritéHtml
..SecurityHtml is used to find out and modify the status of security mechanism for the edit controls in HTML format.
The security mechanism of the edit controls in HTML format locks all the contents that can be potentially dangerous in the control (plug-ins, ActiveX, Javascript code, etc.).
This property can be used on the edit controls in HTML format found in the window.
Note: You also have the ability to manage the security mechanism of HTML edit controls via "Allow the execution of scripts" ("General" tab in the description window of control). The security mechanism is enabled if this option is unchecked.
Versions 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Example
// Retrieve a document on Internet
HTTPRequest(gsURL)

// Enable the security mechanism of the edit control
EDT_EditDoc..SecurityHtml = secHtmlMaxi

// Initialize the control with the document
EDT_EditDoc = HTTPGetResult()
Syntax

Finding out whether the security mechanism is enabled for an edit control in HTML format Hide the details

<Result> = <Control Name>..SecurityHtml
<Result>: Boolean constant or Boolean
Current security mode:
secHtmlNone (or False)The scripts are run. The ActiveX or plugins are displayed and run.
Note: The scripts will not be run in the control if the ..State property of control corresponds to Inactive or Grayed.
Android The secHtmlNone constant is not available.
secHtmlMaxi (or True)
(Default value)
No script is run (javascript, vbscript, ...). No ActiveX or plugin is displayed or run.
Android The secHtmlMaxi constant is not available.
<Control Name>: Character string (without quotes)
Name of edit control to use.

Enabling/Disabling the security mechanism for the edit controls in HTML format Hide the details

<Control Name>..SecurityHtml = <Value>
<Control Name>: Character string (without quotes)
Name of edit control to use.
<Value>: Boolean constant or Boolean
Security mode to apply:
secHtmlNone (or False)The scripts are run. The ActiveX or plugins are displayed and run.
Note: The scripts will not be run in the control if the ..State property of control corresponds to Inactive or Grayed.
Android The secHtmlNone constant is not available.
secHtmlMaxi (or True)
(Default value)
No script is run (javascript, vbscript, ...). No ActiveX or plugin is displayed or run.
Android The secHtmlMaxi constant is not available.
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment