Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com
We can restrict SQL database users to fire some critical queries, e.g. Update, Delete, etc. through SQL Server Management Studio.

This article will guide you on how to assign specific permissions to SQL Server database user for accessing a table residing in the database. Kindly follow the below mentioned steps, in order to proceed:

  1. Login to the SQL Server via SQL Server Management Studio, by using the below mentioned login details as shown in the following image:

    • Server type: Database Engine
    • Server name: IP address,1533
    • Authentication: SQL Server Authentication
    • Login: SQL Server database user
    • Password: As per set by you


    Microsoft SQL Server Management Studio Login Screen

  2. Select your SQL database, Expand database name then select the table residing in that database for which you want to assign the required permissions to that database user, as shown in the following image:

    Select Table from Database

  3. Right click on that table, and select Properties. Click on Permissions option from Table Properties dialog box.



  4. Click on Search button and click on Object Types button.

  5. Now, check the Users option and click on OK button, as shown in the following image:

    Open Properties and Go to Permissions Option

  6. Click on Browse button and select your SQL database user and click OK.

    Select SQL Database User to whom You Need to Assign Permissions

  7. Once again click on OK button from "Select Users or Roles" Dialog box.

    Click on OK to Add SQL User

  8. Assign appropriate permissions to the user, as shown in the following image:

    Again Go to Permissions Option and Assign Required Permissions to SQL User


By referring these steps, you can assign particular permissions to the specific database user in SQL Server.


Note: The above steps are performed on SQL Server 2008 R2 Express Edition.
Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution