How to manage access to a shared file or folder