Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets a list of allowed types.

Component Version macOS Windows Linux Server iOS SDK
ServerSocket 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes


This function was deprecated. Use WebHook functions instead.

MBS( "ServerSocket.SetAllowedTypes"; Types )   More


Parameter Description Example
Types Pass several texts here for the type names. "SQL"


Returns number of allowed types.


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.


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

ServerSocket.SetAllowedScripts - ServerSocket.Start