Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Comments
[no name] 14-Feb-21 10:51am    
To be honest, I don't belive that you created a 'multi tenant' web app and that you have problems with such a basic thing...
2 7182818 14-Feb-21 11:27am    
I don't have experience with hosting. I am a college student and hard worker. I am going good on coding backend and frontend but i don't know much about hosting as i said. I don't know why didn't you belive me but i would be grateful if you can help me.
[no name] 14-Feb-21 13:48pm    
Use SharePoint Online. It does all you want out of the box.

https://www.microsoft.com/en-us/microsoft-365/sharepoint/compare-sharepoint-plans
2 7182818 14-Feb-21 14:33pm    
Thank you for your advice, do you mind give me a little bit more info about this service? Also i want to add i am using single database-single hosting.
[no name] 14-Feb-21 16:34pm    
https://blog.netwrix.com/2019/04/16/sharepoint-online-administration-step-by-step/

https://docs.microsoft.com/en-us/sharepoint/sharepoint-admin-role

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/data-storage-options-in-sharepoint-online

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900