SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database Role Design/Standard


Database Role Design/Standard

Author
Message
kstjacques
kstjacques
SSC-Enthusiastic
SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)SSC-Enthusiastic (195 reputation)

Group: General Forum Members
Points: 195 Visits: 376
First, I apologize if this topic wasn't the right place for this post.

I am looking for a good standard for database role creation across my entire environment. I was hoping people might share what standard they use.

do you create the same database roles for each schema across all of your databases for consistency and assign database users to those roles as needed? Many roles would go unused, but having them available if needed might not be a bad thing.

do you primarily use the built in database roles?

do you just create them as you need them? (this has led to inconsistency in our environment).

I think consistency would be nice for ease of administration, but I would like to know what other people are doing. There might be a great solution out there that I'm just not thinking of...

Thank you Smile
Kim
Grant Fritchey
Grant Fritchey
SSC Guru
SSC Guru (94K reputation)SSC Guru (94K reputation)SSC Guru (94K reputation)SSC Guru (94K reputation)SSC Guru (94K reputation)SSC Guru (94K reputation)SSC Guru (94K reputation)SSC Guru (94K reputation)

Group: General Forum Members
Points: 94017 Visits: 33010
I very seldom use the built-in roles. I always build the roles custom. but, I only build them as needed. Not all roles are ever needed on all databases. And, some roles are unique to some databases. I'm a fan of consistency, but only where it's actually serving me. I don't like consistency just for consistency's sake.

----------------------------------------------------
The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
Theodore Roosevelt

The Scary DBA
Author of: SQL Server Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
Tom Thomson
Tom Thomson
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25154 Visits: 12488
I mostly used the built-in roles, but because using only teh built-in roles would sometimes mean either splitting data I want to have in one database over two (or more) databases (preventing some highly desirable uses of declarative referential consistency) or giving some logins more privileges than ideally they should have I sometimes made custom roles. In my experience it is rare for a custome role to be common to many databases, so not making the roles the same in every database reduces clutter - and I certainly don't see it as promoting inconsistency.

Tom

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search