How many user accounts should be setup for a given application? Where should the separation be?
- Should it be one login per application?
- 1 Application per program?
- 1 for front end and backend?
How do you set up your database accounts?
How many user accounts should be setup for a given application? Where should the separation be?
How do you set up your database accounts?
I would set up:
2009-07-03 Re-Edit for Clarity.
I'm going with: it depends. It really depends on how your database will be used. Different scenarios:
You're going to get a variety of answers on this one.
I set up single application (read "per-application") accounts that are used in connection strings. No users (other than my dev group) have direct access to the db's.
I work primarily in a corporate MS environment (.NET, SQL Server, Active Directory). Generally authentication happens via current logged in user context and application specific security tables. Code handles the authentication and then gets the application authorizations from the database. That takes much of the burden of user maintenance off of me and puts it onto our IT department (password policy and resets, account expiration, disables, etc).