Restricted Property  

Determine if the server should be started in restricted mode, limiting client access to the server.


object.Restricted [= { True | False } ]


The Restricted property determines if the server should be initialized in a restricted mode that isolates the server and limits the ability for clients to access files on the host system. If this property is set to True, all file transfers are limited to the user's home directory and certain site-specific commands are disabled. This is recommended for general purpose applications designed to accept connections from clients over the Internet. This property value is only meaningful if the MultiUser property has also been set to True.

Attempting to change the value of this property after the server has started will cause an exception to be raised. To change this property value, you must first call the Stop method which will terminate all active client connections.

The default value for this property is False.

Data Type


See Also

Directory Property, MultiUser Property, Restricted Property, Start Method