Implemented rule based file/folder permission and ownership system