How can I use the Client.readAccess and Client.writeAccess to allow only reading from a certain SharedObject/Stream.

eg. Something along the lines of:

Code:
application.onConnect(newClient,user){
    newClient.writeAccess = "";
    newClient.readAccess = user+"/";
    application.acceptConnection(newClient);
}
Later,
Somar!