Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3949622
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:30:55+00:00 2026-05-20T01:30:55+00:00

Good afternoon – I have a pretty general question today – I’ve been tasked

  • 0

Good afternoon – I have a pretty general question today – I’ve been tasked with creating a web application to manage some basic information on customers. It’s a very simple application, but what I don’t know is what to keep in mind to develop the site around supporting multiple users at their own domains or subdomains of our url?

How would I restrict users from logging in to each others portion of the app?

I’ve seen mention of database scoping in similar questions on Stack Overflow, could anybody elaborate on best practices for an implementation like this?

Are there any new features in MVC3 to support multi-tenancy? I am facing this issue with MVC2 and my eCommerce site where we decided we wanted it white-labeled and customizable for multiple shop owners, and don’t know where to begin in implementing these features in an existing application. Any input is appreciated.

edit

To elaborate on multi-tenancy, what I mean – in the context of a store for example, multiple users sign up for their own store at http://www.mystore.com and are each given a unique subdomain to access their own instance of the store, at user1.mystore.com, user2.mystore.com etc. Each store would have customers with order histories, and those customers would have logins. I would need to restrict customers of user1.mystore.com from logging in at user2.mystore.com without a new account, and likewise prevent user2.mystore.com from accessing user1.mystore.com’s customer history.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:30:55+00:00Added an answer on May 20, 2026 at 1:30 am

    I implemented a complete MVC multi-tennant app. Here are some links I found handy and some sample apps:

    http://msdn.microsoft.com/en-us/library/aa479086.aspx

    http://codeofrob.com/archive/2010/02/14/multi-tenancy-in-asp.net-mvc-controller-actions-part-i.aspx

    http://www.developer.com/design/article.php/10925_3801931_2/Introduction-to-Multi-Tenant-Architecture.htm

    http://msdn.microsoft.com/en-us/library/aa479086.aspx#mlttntda_cc

    http://lukesampson.com/post/303245177/subdomains-for-a-single-application-with-asp-net-mvc

    http://code.google.com/p/multimvc/

    http://www.paulstovell.com/widgets

    http://www.agileatwork.com/bolt-on-multi-tenancy-in-asp-net-mvc-with-unity-and-nhibernate/

    http://ayende.com/blog/3530/multi-tenancy-approaches-and-applicability

    http://weblogs.asp.net/zowens/archive/tags/Multi-tenancy/default.aspx

    http://cloudsamurai.codeplex.com/

    http://cloudninja.codeplex.com/

    http://msdn.microsoft.com/en-us/library/hh534484.aspx

    http://blog.maartenballiauw.be/post/2009/05/20/ASPNET-MVC-Domain-Routing.aspx

    http://blog.tonywilliams.me.uk/asp-net-mvc-2-routing-subdomains-to-areas

    Even starting from scratch, you are in for a world of hurt. The MVC framework does very little to help you address the issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good afternoon, I have a quick 'top level' question regarding the usage of Facebook
Good afternoon, I have a web query in Excel 2002 going against a web
Good Afternoon Developers, Just a quick question (I hope!) I am creating an XSLT
Good Afternoon in my timezone. I have a simple question. I have an ArrayList
Good Afternoon All, I have two tables in my SQL Server 2005 DB, Main
Good afternoon, I'm learning about using RegEx's in Ruby, and have hit a point
Good Afternoon, A client is interested in creating an ASP.NET 2.0 website whose purpose
Good afternoon to all, I have this scenario: I am using SQL Server 'BulkInsert'
Good afternoon I have a table that has customer id, name, computer, laptop, blah,
Good afternoon all, I have a class which looks like this: public class Grapheme

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.