Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 Security
»
Database role
11 posts, Page 1 of 2
1
2
»»
Database role
Rate Topic
Display Mode
Topic Options
Author
Message
JefferyK
JefferyK
Posted Friday, September 28, 2012 1:09 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, October 01, 2012 6:16 PM
Points: 6,
Visits: 11
In SQL Server Management Studio > SQL server > Databases > (My Database) > Security > Users > Right click on one the user login
I am removing my userid as db_owner but how come I can add myself back again? Shouldn't that, I need administrator login to do that? Reason is I am removing a number of users as db_owner, and do not want them to add themselves back. It seems like I have a higher security level above this. Where can I remove this as well?
Post #1365641
JefferyK
JefferyK
Posted Friday, September 28, 2012 1:13 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, October 01, 2012 6:16 PM
Points: 6,
Visits: 11
I have also remove db_securityadmin; the only access I have is db_accessadmin, db_datareader, db_datawriter and db_ddladmin
Post #1365643
anthony.green
anthony.green
Posted Friday, September 28, 2012 2:05 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
If you dont want yourself to re-add access, then you will want to remove db_accessadmin also.
Members of the db_accessadmin fixed database role can add or remove access for Windows logins, Windows groups, and SQL Server logins
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1365672
JefferyK
JefferyK
Posted Friday, September 28, 2012 2:43 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, October 01, 2012 6:16 PM
Points: 6,
Visits: 11
that's not it. I have removed it, but still I am able to readd myself.
Post #1365686
anthony.green
anthony.green
Posted Friday, September 28, 2012 2:53 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
Do you have any server level roles assigned to yourself?
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1365693
anthony.green
anthony.green
Posted Friday, September 28, 2012 2:53 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
Also have you logged out and back in again to SQL as usually the changes dont apply until you have.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1365694
JefferyK
JefferyK
Posted Friday, September 28, 2012 3:28 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, October 01, 2012 6:16 PM
Points: 6,
Visits: 11
is it because i have server roles - processadmin at the sql server > security > logins ?
Post #1365711
anthony.green
anthony.green
Posted Friday, September 28, 2012 3:30 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
ProcessAdmin you can add a member to processadmin and also KILL connections, nothing relating to security.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1365712
anthony.green
anthony.green
Posted Friday, September 28, 2012 3:31 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
Are you a member of any group which exists on the SQL server, say a domain group or a local group which has access to other things.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1365714
JefferyK
JefferyK
Posted Friday, September 28, 2012 9:30 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, October 01, 2012 6:16 PM
Points: 6,
Visits: 11
my login is in a department login group.
SQL server > Security > Logins > SDomain\Group_IT
I do a right click > Properties on this group, under Server Roles tab, this group has public and processadmin assigned.
Is this a concern?
Post #1366158
« Prev Topic
|
Next Topic »
11 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.