Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

What does CONTROL permissions give on asymmetric key?

 
   Database Help (Home) -> Security RSS
Next:  Error -23197 from scheduler  
Author Message
MDC

External


Since: Nov 17, 2008
Posts: 2



(Msg. 1) Posted: Mon Nov 17, 2008 6:41 am
Post subject: What does CONTROL permissions give on asymmetric key?
Archived from groups: microsoft>public>sqlserver>security (more info?)

I am trying to determine if granting CONTROL permission on an asymmetric key
is a good or bad thing?

What does CONTROL mean in the context of the key? I want to assign it to a
database role that is used by typical users. I need to do this to use the
DecryptByKeyAutoAsymKey function in table functions, etc.

Thanks for any insight.

MDC

 >> Stay informed about: What does CONTROL permissions give on asymmetric key? 
Back to top
Login to vote
Erland Sommarskog2

External


Since: May 30, 2004
Posts: 2061



(Msg. 2) Posted: Tue Nov 18, 2008 2:00 pm
Post subject: Re: What does CONTROL permissions give on asymmetric key? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

MDC (MDC@discussions.microsoft.com) writes:
> I am trying to determine if granting CONTROL permission on an asymmetric
> key is a good or bad thing?
>
> What does CONTROL mean in the context of the key? I want to assign it
> to a database role that is used by typical users. I need to do this to
> use the DecryptByKeyAutoAsymKey function in table functions, etc.

CONTROL means that you can do everything with the object that sysadmin cxan
do. Thus, with this permission, the users can drop the key and to all sorts
of things to it.

An alternative may be to sign the modules where you need to use DecryptByKey
with a certificate, and the grant a user created from the certificate
CONTROL permission on the key.

I have an article on my web site that describes this in detail:
http://www.sommarskog.se/grantperm.html.


--
Erland Sommarskog, SQL Server MVP, esquel RemoveThis @sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 >> Stay informed about: What does CONTROL permissions give on asymmetric key? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how to give create table permissions only - I have situation over here where I need to give a user only create table access to one of our environment. How do I do this? Is there any way where I can create such a role? We're using Sql 2000 SP3a and windows 2000. Thanks,

Permissions Across Databases - I have two databases. In the first database I have a view that needs to be able insert into a table in the second database. I want the user to only have select permissions in the second database’s table. Because of this restriction the view canno...

Where are the permissions documented? - Under what topic in BOL is the meaning of the various permissions such as "Alter", "References", etc., documented? In other words, where is it documented, what you can DO if you have been granted "References" or "Imp...

Table Permissions - I'm assuming that its possible to restrict a user to read-only access for any particular table in a database?

Default permissions on new database - I notice when I create a new database within my SQL Server that the permissions for the new database automatically adds a user (Who is configured as sysadmin) with dbo permissions to this database. Both within the login properties of the select user..
   Database Help (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]