home
training courses
why choose us?
solutions
support
company
LearnItFirst User Forum
Welcome Guest
Search
|
New Posts
|
Members
|
Log In
|
Register
SQL Server Forum - LearnItFirst.com
»
SQL Server Database Administration
»
SQL Server Security
»
dbcreator role - Did you know?
dbcreator role - Did you know?
Options
Previous Topic
·
Next Topic
Scott Whigham
Posted:
Thursday, August 10, 2006 5:56:35 AM
Rank: Super Mod
Joined: 3/20/2006
Posts: 476
Points: 1,053
Where do you live?: Dallas, TX
During consulting and training, I talk to a lot of people who get a bit confused about the dbcreator fixed server role. Here's the usual discussion:
Quote:
Developer: I need to be able to create my own test databases.
DBA: Okay, I'll put you in the "dbcreator" role
What's the problem with this scenario? The permissions for dbcreator are, of course, to be able to create any database but also to be able to DROP/ALTER any database on the entire server regardless of whether or not you even have a user account in the database!
The better approach, for SQL Server 2005, is more along these lines:
Quote:
Developer: I need to be able to create my own test databases.
DBA: Okay, I'll issue a "GRANT CREATE ANY DATABASE to Developer" statement
If you have CREATE ANY DATABASE permission then you can create databases but only drop/alter the databases you own. Thank you, Microsoft
Hope this helps
Back to top
Users browsing this topic
Guest
Forum Jump
SQL Server Database Administration
- General SQL Database Question & Answer
- Backup, Recovery and Disaster Recovery
- SQL Server Security
- Integration Services (SSIS) and DTS
Transact-SQL Programming
- DML (SELECT, INSERT, UPDATE, DELETE) Questions
- Stored Procedures, Triggers, & Functions
SQL Server Scripts, Code Samples and SSMS Custom Reports
- All SQL Server Versions
- SQL Server 2005/2008
- SQL Server Management Studio Custom Reports
Customer Service
- Video Requests
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
delete your posts in this forum.
You
cannot
edit your posts in this forum.
You
cannot
create polls in this forum.
You
cannot
vote in polls in this forum.
SQL Server 2005 DBA Training Videos
SQL Server 2008 DBA Training Videos
Email this topic
RSS Feed
Watch this topic
Print this topic
Normal
Threaded