Re: public role???

From: Rob (rhchin@hotmail.com)
Date: 02/17/03


From: "Rob" <rhchin@hotmail.com>
Date: Mon, 17 Feb 2003 13:30:57 -0800


Thanks... you are absolutely correct. The guest user
account existed for all these DBs. Any way to restrict
these users from viewing the master and tempdb DBs as well?

Thanks again.

>-----Original Message-----
>Rob,
>
>What exactly do you mean by "new users have access to all
DBs"?
>
>If you mean that new users can see the names of the other
databases, but not
>actually get into them, then that's the way SQL Server
works.
>
>If you mean that the new users can actually get into the
other databases,
>see if you have the "guest" account enabled in the other
databases.
>
>Documentation on the "guest" account is available in the
SQL Server Books
>Online.
>
>-------------------------------------------
>BP Margolin
>Please reply only to the newsgroups.
>When posting, inclusion of SQL (CREATE TABLE ...,
INSERT ..., etc.) which
>can be cut and pasted into Query Analyzer is appreciated.
>
>"Rob" <rhchin@hotmail.com> wrote in message
>news:025401c2d6c8$adaa5620$a101280a@phx.gbl...
>> Hello:
>>
>> I created a couple of new SQL Server users giving them
>> access to a particular DB only. When I attempt to login
>> for these new users via SQL Query Analyzer, I've noticed
>> that the new users have access to all DBs.
>>
>> Is this because of the default 'public' role's
>> permissions. If yes, then would the public role's
>> permission of all other DB that I wouldn't want the
users
>> to have access to, need to be restricted?
>>
>> Your comments are highly appreciated. Thanks.
>>
>
>
>.
>



Relevant Pages

  • Re: Cant Start Local Instance
    ... Thats ok unless your SQL Server will need Acces to your network or services ... -the service account to start SQL Server under (see above, ... > "guest" as the DefaultLogin? ... > I am confused regarding the login settings. ...
    (microsoft.public.sqlserver.setup)
  • Re: Cant Start Local Instance
    ... > changing the LogOn setting to "Local System ... > -the service account to start SQL Server under (see above, ... > database with the user guest. ...
    (microsoft.public.sqlserver.setup)
  • Re: Guest Account
    ... > I am trying to delete the guest account from the database: ... > tempdb and master, in SQL server. ... Is there a way to get rid of that account? ... You cannot delete 'Guest', ...
    (microsoft.public.sqlserver.security)
  • Removing Guest and BUILTINAdministrator accounts
    ... I am looking for advice on disabling the "guest" account on SQL Server 2000. ...
    (microsoft.public.sqlserver.security)
  • Re: Error 15401 using sp_grantlogin (not addressed by current KB articles)
    ... Restarting Windows 2000 resolved the problem for this particular account, ... confused when it sees a duplicate SID. ... > One way to get SQL Server to agree with the renamed NT ... > Preview (to ensure the script was created), ...
    (microsoft.public.sqlserver.security)