clientObject.writeAccess
Provides write access to directories that contain application resources (such as shared objects and streams) for this client. To give a client write access to directories that contain application resources, list directories in a string delimited by semicolons. By default, all clients have full write access, and the writeAccess property is set to slash (/). For example, if myMedia is specified as an access level, then any files or directories in the myMedia directory are also accessible (for example, myMedia/myStreams). Similarly, any files or subdirectories in the myMedia/myStreams directory are also accessible, and so on.
You cannot use this property to control access to a single file. To control access to a single file, create a separate directory for the file.
Don't precede the stream path with a leading slash (/) on the client side.
Flash Communication Server 1
The following example provides write access to the /myMedia/myStreams and myData/notes directories:
application.onConnect = function(newClient, name){
newClient.writeAccess = "/myMedia/myStreams;myData/notes";
application.acceptConnection();
};
The following example completely disables write access:
application.onConnect = function(clientObj){
clientObj.writeAccess = "";
return true;
};