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 2008
»
Security (SS2K8)
»
Security - Owned Schemas
Security - Owned Schemas
Rate Topic
Display Mode
Topic Options
Author
Message
SQLSACT
SQLSACT
Posted Tuesday, August 07, 2012 12:04 AM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:22 AM
Points: 1,258,
Visits: 2,232
Hi All
I'm trying to understand something regarding SQL Server security
If I have a SQL Login and that Login is also a user on a database. What happens when that user owns schemas in the Database? What does that mean?
Thanks
Post #1341019
Evil Kraig F
Evil Kraig F
Posted Wednesday, August 08, 2012 10:55 AM
SSCertifiable
Group: General Forum Members
Last Login: 2 days ago @ 5:35 PM
Points: 5,722,
Visits: 6,194
SQLSACT (8/7/2012)
Hi All
I'm trying to understand something regarding SQL Server security
If I have a SQL Login and that Login is also a user on a database. What happens when that user owns schemas in the Database? What does that mean?
Thanks
It means they can create objects within that schema under that login, as well as access anything that the owner of the schema can with 'execute as owner' (the default if unspecified). So, if the schema owner were a DBO or had data_reader on dbo tables, anything created in that schema would inherit the rights.
It gets complicated from there.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions
|
Forum Netiquette
For index/tuning help, follow these directions.
|
Tally Tables
Twitter: @AnyWayDBA
Post #1342033
SQLSACT
SQLSACT
Posted Friday, August 10, 2012 4:36 AM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:22 AM
Points: 1,258,
Visits: 2,232
Evil Kraig F (8/8/2012)
SQLSACT (8/7/2012)
Hi All
I'm trying to understand something regarding SQL Server security
If I have a SQL Login and that Login is also a user on a database. What happens when that user owns schemas in the Database? What does that mean?
Thanks
It means they can create objects within that schema under that login, as well as access anything that the owner of the schema can with 'execute as owner' (the default if unspecified). So, if the schema owner were a DBO or had data_reader on dbo tables, anything created in that schema would inherit the rights.
It gets complicated from there.
Thanks
I have a lot to learn about this
Post #1343263
« Prev Topic
|
Next Topic »
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.