Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ServerSocket.SetAllowedTypes
Sets a list of allowed types.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ServerSocket | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Deprecated
This function was deprecated. Use WebHook functions instead.
MBS( "ServerSocket.SetAllowedTypes"; Types ) More
Parameters
Parameter | Description | Example |
---|---|---|
Types | Pass several texts here for the type names. | "SQL" |
Result
Returns number of allowed types.
Description
Sets a list of allowed types.Types include: MBSVersion, SQL, Evaluate or Script
If this command is used, the plugin will only perform the allowed query types.
We recommend to disable SQL if you don't need it.
Examples
Allow two types:
MBS( "ServerSocket.SetAllowedTypes"; "SQL¶Evaluate" )
See also
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 17th October 2021