Re: Design Issue (Employee and Client)
- From: fingermark@xxxxxxxxx
- Date: 19 Feb 2006 21:34:10 -0800
Maybe I should have specified some things. I am using ASP.NET 2.0 and
am creating my own MembershipProvider implementation.
fingermark@xxxxxxxxx wrote:
I am trying to design a login system, but I am running in to a couple
of design issues. All tips are welcome.
There are two principals that need to access the system: employees and
clients. Clients login at clients.example.com. Employees login at
employees.example.com.
First design issue:
1. Description: Currently, I have a Persons table (this contains the
username, password, email, ... of the users). I have a Employees table
that has a foreign key to the Persons table (to PersonID). I have a
Client table that has a foreign key to Persons table (to PersonID).
Issue: Is having the login information for employees and clients in
one table a bad idea? I see no reason why, but I'm just a little
concerned.
2. Description and issue: Once the user is logged in, how can I
prevent clients from accessing employee pages and vice versa? Would I
do this through user profiles? Or would I do this with roles, like
Employee role and Client role. Employees are going to be given roles
anyways, like Billing, Customer Service, Administrator, ...
Thanks
.
- References:
- Design Issue (Employee and Client)
- From: fingermark
- Design Issue (Employee and Client)
- Prev by Date: Re: Session-specific Auth Cookie
- Next by Date: Re: Listing domain users
- Previous by thread: Design Issue (Employee and Client)
- Index(es):
Relevant Pages
|
|