Skip to content

Instantly share code, notes, and snippets.

@AndyDangerous
Created September 8, 2014 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyDangerous/5abe7f071361af60c30f to your computer and use it in GitHub Desktop.
Save AndyDangerous/5abe7f071361af60c30f to your computer and use it in GitHub Desktop.
1. What does it mean for an application to be multi-tenant?
2. Why would you want to build an application to be multi-tenant?
3. How do you implement multi-tenancy at the data / database level?
4. How do Active Record scopes help keep tenant data segregated?
5. Why is multi-tenancy dangerous from a security/privacy perspective?
1. The app will work well for multiple users using the same stuff.(database and structures)
2. Your app should be able to handle multiple tenancy
3.
4. They are really good at holding tenants to a specific scope.
5. I'm guessing that the issue is related to different users accessing the same data or, more specifically, users accessing each other's data when they shouldn't be able to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment