Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Security Expand / Collapse
Author
Message
Posted Monday, January 5, 2009 11:58 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 3:03 PM
Points: 31,276, Visits: 15,728
Comments posted to this topic are about the item Security






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #630334
Posted Tuesday, January 6, 2009 12:39 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 21, 2014 2:56 AM
Points: 2,603, Visits: 2,061
I guess; "A user to act like another user"

looks correct answer as per the following MS article:

http://msdn.microsoft.com/en-us/library/ms188304.aspx




---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Post #630349
Posted Tuesday, January 6, 2009 1:01 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, September 23, 2014 8:08 AM
Points: 2,365, Visits: 1,846
According to BOL the answer seems to be the first option.

"Keep Trying"
Post #630358
Posted Tuesday, January 6, 2009 4:38 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 3:56 PM
Points: 6,086, Visits: 8,354
Hi Steve,

Impersonation is a generic term for using the security settings of a user that you are not authenticated as. This term is used *both* for

(a) database users impersonating other database users (using the EXECUTE AS command, or executing stored procedures with the EXECUTE AS clause), which requires the aptly named IMPERSONATE permission - see also the link free_mascot posted; and

(b) the SQL Server service connecting to another instance under the context of an authenticated Windows user.

So both the first and the third answer are correct.



Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Post #630439
Posted Tuesday, January 6, 2009 6:31 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, August 6, 2013 5:22 AM
Points: 391, Visits: 87
Hi Steve,

next time I suggest to have check boxes instead of radio boxes.
You show us two correct answers!

Ralf

I feel sorry with all of us - whom was using the first correct answer
Post #630502
Posted Tuesday, January 6, 2009 7:07 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 5:11 AM
Points: 2,958, Visits: 473
Could someone explain why the first answer would be incorrect?

I felt it was a correct answer based on SQL 2005 BOL:

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/6d156257-8c80-4062-a6a0-acc6797b293f.htm

SQL Server 2005 supports the ability to impersonate another principal either explicitly by using the stand-alone EXECUTE AS statement, or implicitly by using the EXECUTE AS clause on modules. The stand-alone EXECUTE AS statement can be used to impersonate server-level principals, or logins, by using the EXECUTE AS LOGIN statement. The stand-alone EXECUTE AS statement can also be used to impersonate database level principals, or users, by using the EXECUTE AS USER statement.

Implicit impersonations that are performed through the EXECUTE AS clause on modules impersonate the specified user or login at the database or server level. This impersonation depends on whether the module is a database-level module, such as a stored procedure or function, or a server-level module, such as a server-level trigger.

Thanks!



Post #630536
Posted Tuesday, January 6, 2009 8:03 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Friday, June 7, 2013 6:57 AM
Points: 642, Visits: 200
I believe there is more than one correct answer to this question... I think this depend on your perception of Impersonation.
Post #630600
Posted Tuesday, January 6, 2009 8:29 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, July 17, 2014 10:56 AM
Points: 3,924, Visits: 1,607
I think answer should be option 1 and 3.

-- Impersonating allows a member of the sysadmin fixed server role or db_owner fixed database role to impersonate another user

http://blogs.msdn.com/sqlclr/archive/2006/06/16/635003.aspx


SQL DBA.
Post #630625
Posted Tuesday, January 6, 2009 8:34 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 3:03 PM
Points: 31,276, Visits: 15,728
I'll correct the answers to show both as correct.

As usual, I started with a topic in BOL, in this case impersonation, which didn't mention the EXECUTE AS clause. Though I should have checked that section to see if it applied as the same term.

Points will be awarded back.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #630630
Posted Tuesday, January 6, 2009 8:40 AM


SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Friday, January 3, 2014 10:59 AM
Points: 626, Visits: 836
A SQL Server Central points Bailout!



What is this world coming to?

I'll confess that I'll be a benefactor to Steve's 700 billion point bailout package.
Looking forward to the forums stimulus package, too!

~BOT


Craig Outcalt



Tips for new DBAs: http://www.sqlservercentral.com/articles/Career/64632
My other articles: http://www.sqlservercentral.com/Authors/Articles/Craig_Outcalt/560258
Post #630640
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse