Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets a list of allowed types.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ServerSocket 3.4 Yes Yes Yes Yes Yes

MBS( "ServerSocket.SetAllowedTypes"; Types )


Parameter Description Example value
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

ServerSocket.SetAllowedScripts   -   ServerSocket.Start

Feedback: Report problem or ask question.

MBS Xojo blog