My web application runs on multi tenant architecture and it will be a SaaS product. I need to storage files(documents(pdf, doc etc), images(jpg, png etc) etc) for every tenant. I want to distribute dynamic disk spaces for each tenant. If a tenant cross over his/her/it disp storage limit, i want to prevent his/her/it to upload the file. Also it this distributed spaces should be dynamic so i can up the tenant's limit when tenant wants to upgrade his licence. What is the best way to do this? What I have tried: <pre>Some ideas came to my mind like a different file storage service apart from hosting(like azure blob i think this is providing this kind of service), different hosting for every tenant. Or solve this problem in code and record every file upload to the database and check it every upload based query.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)