Our software requires the business users (of the software) to have read and write access to the database (MS SQL Server). The users are added to an active directory group with this SQL permission. The business users also want to query the database as read only in SQL Server Management Studio. Is there a way that the user can have read write access to the database from the software and read only from the back end in SQL Server Management studio?
As the SQL server permissions are assigned to the Active Directory group, the users in the group will be able to have the same permissions irrespective of from where they are accessing the database (from the software or MS SQL server management studio)
The permissions cannot be changed based on from where the users are accessing the database
Related
After domain migration I am not able to see the databases in SQL management studio from a Windows 2016 server.
With the same user on a terminal or the SQL server I am able to see all the databaes in SSMS.
Now I am getting stuck with Exact, I can find the server but not the databases from that specific server. On a Terminal server with the same user I am able to login to the database from Exact and SSMS.
I am able to see the databases when I use odbcad.exe and connect with one of the databases.
The user is sysadmin in SQL.
What did I forgot to do?
I tried to use the cliconf.exe with protocols, nothing worked for this situation.
Is there any way to link tables from SQL Server to Access as read-only?
There's too much data to do an import.
While providing the credentials to choose the tables from your SQL database, you can configure this SQL user to have read only permissions.
Add tables to Access database (trough Linked tables)
Set SQL user (or Windows User, or Role) to "datareader" only. (in SQL Management Studio)
I installed SQL Server 2005 Management Studio Express. When I login to the Database server using Windows Authentication.
I am unable to create tables or create databases. How do I grant the permissions for the users logged in as Windows Authentication to be able to create tables / databases?
In the Object Explorer look for the Security Folder at the top level.
Then under logins right click and choose properties of the user in question.
Grant them further access.
Is there a way to grant execute permissions for a role or a user using GUI (not T-SQL)? I'm using SQL Server 2008 SP1.
Yes, there is a way. Use Permissions page of Database Properties window.
Once database properties windows is displayed, follow steps 1-4 and press OK.
Using steps A, B you can verify it is creating exactly the expected GRANT EXECUTE TO command.
Check out Microsoft SQL Server Management Studio.
It is part of the SQL Server Client Tools package but there's also a free version called Microsoft SQL Server Management Studio Express.
Related resources:
How to grant Permissions on a Stored Procedure (SQL Server Management Studio)
Permissions (SQL Server Database Engine)
In the new login dialog of the SQL Server 2005 Management Studio Express, what is the User Mapping actually doing? Am I restricting access to those databases that are checked? What if I check none?
It's mapping user rights to specific databases. If you don't check any, that user won't have rights to any database unless it is in a server role that allows rights to individual databases.