PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • HSecurity and HFlush
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
HSecurity (Function)
In French: HSécurité
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Enables or disables the automatic security mechanism on one or more data files.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Example
HSecurity(False) // Disables the protection mechanism
HSecurity(True) // Enables the protection mechanism
Syntax
<Result> = HSecurity([<File Name>,] <Security Level>)
<Result>: Integer
Former security level (before running HSecurity).
<File Name>: Optional character string (with or without quotes)
Name of data file used. If this name is not specified, HSecurity handles all the data files described in the analysis.
Hyper File 5.5 This parameter is ignored. The security is enabled for all the data files found in the current analysis.
<Security Level>: Integer or boolean
Requested security level:
  • 0 or False (by default): the security mechanism is disabled. The speed of the write-to-file operations is maximum.
  • 1 or True: The security mechanism is enabled: The speed of the write-to-file operations is slower than when using HSecurity(0) but the security is ensured when writing into the data files.
  • 2: Maximum security mechanism: The speed of write-to-file operations is slower than when using HSecurity(1).
Remarks

HSecurity and HFlush

HSecurity and HFlush can both be used to force a physical write operation on disk.
However:
  • HSecurity is used to force a write operation into the data files handled by each write operation. This write operation is automatically performed by the HFSQL engine. The data files used are not closed during this write operation. The speed of the write-to-file operation is slower.
  • HFlush is used to force a write operation into the data files handled during the call to this function. The data files used are closed then re-opened during this write operation. The speed of the write-to-file operation is not slowed down.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment