Re: About logins and roles



Be sure that you did not add the login to any server-level groups. That may
be why you have permissions in all DBs.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Henry" <henry@mobile> wrote in message
news:899B40D2-3309-4515-8F25-6BE45F3E9F9D@xxxxxxxxxxxxxxxx
Hi all expert,
I have create a logins called dbadmin
in what way can i restrict the logins to be able to access to a certain
database, or even certain tables inside database?
i have checked the security grid for accessing only certain database, such
as I checked the checkbox northwinds only, but finally i can gain access to
all db.

how to set exactly? please advise. and thanks in advance

.



Relevant Pages

  • Re: connect database user to security login user
    ... Also, you can transport the logins with the correct sid, search KB for sp_help_revlogin. ... Tibor Karaszi, SQL Server MVP ... > After restore off a database the user under security logins was not created. ...
    (microsoft.public.sqlserver.programming)
  • Re: Databaseaccess
    ... If that database is on the same server then just make sure the user from the ... >>You limit access by assigning rights to Logins. ... >>Andrew J. Kelly ... >>SQL Server MVP ...
    (microsoft.public.sqlserver.security)
  • Re: Logging in irrespective of database access
    ... Try connecting using Query Analyzer with one of the problem logins and run ... the following in the context of your demodata and accounts databases: ... This will return the security context used to access the database. ... SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: Logging in irrespective of database access
    ... Try connecting using Query Analyzer with one of the problem logins and run ... the following in the context of your demodata and accounts databases: ... This will return the security context used to access the database. ... SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • Re: Changing security authentication type.
    ... i'm thinking that yes in time the sa account ... A new DBA Admin User login would only be useful for SQL Login purposes. ... if appropriate you can add users to the db_owner role in a database. ... Create one or more logins for the applications. ...
    (microsoft.public.sqlserver.security)