A document can be set to be public or private view. You can also set who has the right to only see a document “read only” and who has the right edit which files on your online file storage.
For example, a project manager will have full access to folders while a customer will be limited to a "read only" folder which has been assigned to him.