Re: SQL User permissions
- From: ace95hockey <ace95hockey@xxxxxxxxxxxxxx>
- Date: Thu, 22 Feb 2007 08:12:43 -0800
I am sorry about being unclear. I have not done this already. I am trying
to determine if I can setup a user that when they log into SQL Server
Management Studio that they only see their database and nothing else. I have
done as you have said below and gone to the database and given this account
dbo permissions for this database. They are not a member of any of the
builtin security roles and I have not created any new ones. When I log in as
this user using Management Studio they can see all databases and permissions,
etc. I only want them to be able to see their database and only make changes
to their database. I don't know if that even can be done but that is my goal.
"Qi Ding [MSFT]" wrote:
.
Hello, ace95hockey
Thank you for using newsgroup!
Based on your description, I am not very clear about the process of your
configuration. Can you tell me how you set another administrator account to
let it only access the certain database?
Generally we can perform the following steps to set account permissions in
SQL Server 2005.
1.Open Microsoft SQL Server Management Studio.
2.In the left panel, click databases, select the database you want. For
example, we select ¡°tempdb¡±.
3.Right click mouse on ¡°tempdb¡± then select ¡°properties¡±.
4.In the dialog box appeared select ¡°permissions¡±
5.In the right panel you can see ¡°users and roles¡±, add a user you want.
6.In the ¡°explicit permissions for guest¡± panel we can set the user¡¯s
permissions.
For more details I searched the information below and hope to help.
Title:Assigning SQL Server Database Roles
http://msdn2.microsoft.com/en-us/library/ms915731.aspx
Title:Database-Level Roles
http://msdn2.microsoft.com/en-us/library/ms189121.aspx
Title:Adding a Member to a SQL Server Database Role
http://msdn2.microsoft.com/zh-cn/library/aa905200(SQL.80).aspx
Title:DatabaseRole Members
http://msdn2.microsoft.com/it-it/library/microsoft.sqlserver.management.smo.
databaserole_members.aspx
Regards!
QiDing
Microsoft Online Support
Microsoft Global Technical Support Center
Get Secure! - www.microsoft.com/security
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: SQL User permissions
| thread-index: AcdV32L0PZnUxZK1S9aDTeSm3/avNw==
| X-WBNR-Posting-Host: 130.113.45.40
| From: =?Utf-8?B?YWNlOTVob2NrZXk=?= <ace95hockey@xxxxxxxxxxxxxx>
| References: <F738DAC9-CD0B-468A-B845-DEE2183417E6@xxxxxxxxxxxxx>
<#bwfAtcVHHA.2212@xxxxxxxxxxxxxxxxxxxx>
| Subject: Re: SQL User permissions
| Date: Wed, 21 Feb 2007 09:40:32 -0800
| Lines: 31
| Message-ID: <8FEE914A-F008-4135-97B7-31379DA3B05B@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
| Newsgroups: microsoft.public.sqlserver.security
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.sqlserver.security:784
| NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
| X-Tomcat-NG: microsoft.public.sqlserver.security
|
| I didn't assign it to any server roles. I just double checked that it
didn't
| get assisgned by default and it is not assigned to anything.
|
| "Uri Dimant" wrote:
|
| > Did you add this login to sysadmin server role? If you did , remove it
and
| > grant access to the db you would want
| >
| >
| >
| >
| >
| > "ace95hockey" <ace95hockey@xxxxxxxxxxxxxx> wrote in message
| > news:F738DAC9-CD0B-468A-B845-DEE2183417E6@xxxxxxxxxxxxxxxx
| > >I have SQL 2005 Standard installed in Mixed Mode
| > >
| > > I am new to SQL and I want to setup a database off my SQL server that
| > > another administrator will have access too. I created a new SQL
account
| > > and
| > > gave it dbo permissions to only the database I created but when I log
in
| > > to
| > > test this user has full access to see all databases. I would like to
| > > change
| > > this so this user can only see their database and nothing else.
Please
| > > let
| > > me know if you can point me in the right direction.
| > >
| > >
| >
| >
| >
|
- Follow-Ups:
- Re: SQL User permissions
- From: Erland Sommarskog
- Re: SQL User permissions
- References:
- Re: SQL User permissions
- From: Uri Dimant
- Re: SQL User permissions
- From: Qi Ding [MSFT]
- Re: SQL User permissions
- Prev by Date: Re: C2 SQL auditing
- Next by Date: Re: Error 28055 when creating mirroring endpoint.
- Previous by thread: Re: SQL User permissions
- Next by thread: Re: SQL User permissions
- Index(es):
Relevant Pages
|
|