Restricted Property  
 

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

Syntax

object.Restricted [= { True | False } ]

Remarks

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, the only commands accepted by the server will be the GET and HEAD commands. The server will never return a list of files if the client provides a URL that maps to a local directory and there is no default index page. Clients will not be able to execute CGI programs or scripts, and cannot access files outside of the server root directory or its subdirectories.

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

Boolean

See Also

Directory Property, MultiUser Property, NoIndex Property, Restricted Property, Start Method