HardDesign: File Storage System (Google Drive/Dropbox)
How do you handle permissions when a folder is shared with 'view' access but contains a subfolder with 'edit' access for a different user?
— Tests your understanding of this concept.
Answer Options
ASubfolder permissions override parent
BParent folder permissions always override subfolder
CMost permissive permission wins
DPermissions are evaluated independently per resource with inheritance from parent
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 22+ more Design: File Storage System (Google Drive/Dropbox) questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the Design: File Storage System (Google Drive/Dropbox) topic (System Design Cases).
More Design: File Storage System (Google Drive/Dropbox) Questions
Why is chunked upload better than single-file upload for large files?
HardWhat hash function is used for block-level deduplication fingerprinting?
HardUser A edits a file on their laptop while offline. User B edits the same file online. When A reconnects, how do you handle the conflict?
HardWhat is 'delta sync' and why does it matter?
HardHow does block-level deduplication work when the same file is uploaded by 1000 users?
Hard