Building a scalable document management system: Infrastructure, storage and access control