This method of the ClientStoragePermission Class sets flags for controlling access to storage.
public void setFlags(int flags);