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

how to give create or drop permission through ssms Expand / Collapse
Author
Message
Posted Thursday, March 14, 2013 12:56 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, November 21, 2014 2:43 AM
Points: 135, Visits: 265
in sql 2008 it is possible to assign permission to an object such as table or view
insert or select permission by going through securables window but how to give drop or create object permission in ssms?
Post #1431196
Posted Thursday, March 14, 2013 1:05 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: 2 days ago @ 12:14 PM
Points: 4,243, Visits: 4,291
Yes you can accomplish it through SSMS. I prefer to do this in T-SQL.

To do this in SSMS.

Create a User and add them to the public role. (for minimum permissions)

If you want them to create objects you can add them to the ddl_admin role but they will be able to ALTER and Drop Objects as well.

If you want to prevent them from dropping objects you will need to do this in T-SQL.

Then right click on the table and select properties.

Click on permissions.

On the top pane click on the search button to add the User.

On the bottom pane, for SELECT Permissions check the Select box.

For INSERT PERMISSIONS check the Insert box

Check any other permissionsthat you want to grant or deny.

To do it in T-SQL:

Google for each permission that you need if you do not know the syntax.

Then create T-SQL Scripts to grant the permissions that you need.

Save your scripts for future reference.

Alter your saved scripts and save them as needed to assign permissions to other Users.

You will learn from creating scripts to grant permissions.

HTH.


For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Post #1431202
Posted Wednesday, March 20, 2013 3:48 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Saturday, November 15, 2014 12:45 AM
Points: 328, Visits: 544
Please please please read the documentation, take a course or at least sit down and read a book! Security is the single most important aspect of data management and if you are unaware of how to assign rights, permissions and roles through the Management Studio then you have the most enormous gap in your knowledge and whats more, I would suspect a dangerous lack of ability to secure your database!

Don't take that the wrong way but it takes very little to get security wrong......
Post #1433097
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse