Home All Groups Group Topic Archive Search About

sql server management studio to connect to database



Author
30 Jun 2009 1:28 PM
db
SQl server 2005 SP2

I have a sql server 2005 SP2 on which I have three databases dev,prod and
test. I need to grant only select access to some users on all three databases
so that they can query the tables/views.

In order to do that I was planning to Install SQL Server Management Studio
on their computer(They do not have C drive but have shared network drive) and
then have a domain windows network account to connect to database. Give
individual users select permissions to the tables and views.

Is this the best method?

Thanks
dbdba


--
ontario, canada

Author
30 Jun 2009 1:33 PM
Rick Sawtell
Show quote Hide quote
"db" <d*@discussions.microsoft.com> wrote in message
news:32D4EC83-8374-4E16-BAE6-404857B64A1A@microsoft.com...
>
> SQl server 2005 SP2
>
> I have a sql server 2005 SP2 on which I have three databases dev,prod and
> test. I need to grant only select access to some users on all three
> databases
> so that they can query the tables/views.
>
> In order to do that I was planning to Install SQL Server Management Studio
> on their computer(They do not have C drive but have shared network drive)
> and
> then have a domain windows network account to connect to database. Give
> individual users select permissions to the tables and views.
>
> Is this the best method?
>
> Thanks
> dbdba
>
>
> --
> ontario, canada

I would create a domain group, add their windows accounts to that group,
then assign the group the appropriate permissions in the database.  That way
if they add people, or remove people, you don't have to do anything more in
the database.  Just ensure that whoever is managing the domain accounts adds
these members to the domain group that you are using.


Rick
Are all your drivers up to date? click for free checkup

Author
30 Jun 2009 2:08 PM
Linchi Shea
> I would create a domain group, add their windows accounts to that group,
> then assign the group the appropriate permissions in the database.  That way
> if they add people, or remove people, you don't have to do anything more in
> the database.  Just ensure that whoever is managing the domain accounts adds
> these members to the domain group that you are using.

There are pros and cons w.r.t. this approach in practice. The good thing is
that, as you said, it's simple and the DBA doesn't have to do anything with
adding a new user. The bad thing is that the DBA can quickly lose visibility
into who has what access and especially how one person gets his/her access
when people are in multiple groups and groups are nested in groups.

Linchi

Show quoteHide quote
"Rick Sawtell" wrote:

>
> "db" <d*@discussions.microsoft.com> wrote in message
> news:32D4EC83-8374-4E16-BAE6-404857B64A1A@microsoft.com...
> >
> > SQl server 2005 SP2
> >
> > I have a sql server 2005 SP2 on which I have three databases dev,prod and
> > test. I need to grant only select access to some users on all three
> > databases
> > so that they can query the tables/views.
> >
> > In order to do that I was planning to Install SQL Server Management Studio
> > on their computer(They do not have C drive but have shared network drive)
> > and
> > then have a domain windows network account to connect to database. Give
> > individual users select permissions to the tables and views.
> >
> > Is this the best method?
> >
> > Thanks
> > dbdba
> >
> >
> > --
> > ontario, canada
>
> I would create a domain group, add their windows accounts to that group,
> then assign the group the appropriate permissions in the database.  That way
> if they add people, or remove people, you don't have to do anything more in
> the database.  Just ensure that whoever is managing the domain accounts adds
> these members to the domain group that you are using.
>
>
> Rick
>
>
>
Author
30 Jun 2009 6:35 PM
db
Where can I get sql server management studio? I just want that to remote
connect to sql server 2005 SP2 ... do I need any licence to use it?


ontario, canada


Show quoteHide quote
"Rick Sawtell" wrote:

>
> "db" <d*@discussions.microsoft.com> wrote in message
> news:32D4EC83-8374-4E16-BAE6-404857B64A1A@microsoft.com...
> >
> > SQl server 2005 SP2
> >
> > I have a sql server 2005 SP2 on which I have three databases dev,prod and
> > test. I need to grant only select access to some users on all three
> > databases
> > so that they can query the tables/views.
> >
> > In order to do that I was planning to Install SQL Server Management Studio
> > on their computer(They do not have C drive but have shared network drive)
> > and
> > then have a domain windows network account to connect to database. Give
> > individual users select permissions to the tables and views.
> >
> > Is this the best method?
> >
> > Thanks
> > dbdba
> >
> >
> > --
> > ontario, canada
>
> I would create a domain group, add their windows accounts to that group,
> then assign the group the appropriate permissions in the database.  That way
> if they add people, or remove people, you don't have to do anything more in
> the database.  Just ensure that whoever is managing the domain accounts adds
> these members to the domain group that you are using.
>
>
> Rick
>
>
>
Author
30 Jun 2009 8:26 PM
Bob Simms
"db" <d*@discussions.microsoft.com> wrote in message
news:E382CFA2-247B-49F1-A0B4-45C159C1F13D@microsoft.com...
>
> Where can I get sql server management studio? I just want that to remote
> connect to sql server 2005 SP2 ... do I need any licence to use it?
>
It's on the SQL Server cd.  Run setup and only choose the client tools
feature.  You don't need to licence it, it only has to connect to a licenced
installation of SQL


--
Bob Simms
Senior Learning Consultant
QA - transforming performance through learning
www.qa.com
Author
8 Jul 2009 6:29 PM
db
I have only assigned permissions to the users through (login properties -->
user mapping --> database role membership (db_datareader and public)) on
those databases. Users have permissions for tables and views on those
databases.

User also has permissions on "master, msdb" databases and all the stored
procedures and triggers. Users do not need these permissions. How did they
got those permissions?

Users can see and have permissions on " storage,   server objects,
management, notification services". Did I install more features then
required? What needs to be done so that users can see only three user
databases (only select on tables and views).


dbdba
--
ontario, canada


Show quoteHide quote
"Bob Simms" wrote:

> "db" <d*@discussions.microsoft.com> wrote in message
> news:E382CFA2-247B-49F1-A0B4-45C159C1F13D@microsoft.com...
> >
> > Where can I get sql server management studio? I just want that to remote
> > connect to sql server 2005 SP2 ... do I need any licence to use it?
> >
> It's on the SQL Server cd.  Run setup and only choose the client tools
> feature.  You don't need to licence it, it only has to connect to a licenced
> installation of SQL
>
>
> --
> Bob Simms
> Senior Learning Consultant
> QA - transforming performance through learning
> www.qa.com
>

Bookmark and Share