Hi guys,
I have a SQL Server 2000 with about 20 databases, each database with few
hundreds of objects (tables, sps, views etc).
I have a new user (application) who should read data from few columns (not
all), from only one database, only one table. The rest of 19 databases are
completely denied. I've created a login for this user and his roles for all
19 databases are db_denydatareader & db_denydatawrite.
How should I proceed with the last database? Do I need to go on each object
(few hundreds objects) from this database and deny "SELECT", "UPDATE",
"INSERT" operations, leaving access on only one table? Is there any ability
to put db_denydatareader & db_denydatawrite, excepting table X, allowing
read-only access on few columns?
Thanks,
Radu
David J. Cartwright - 28 Sep 2005 20:27 GMT
Why make him a user in the other Databases at all ? is guest still enabled ?
Get rid of guest (Default perms)
Create a view with the data you want user to see
give select permission on view
> Hi guys,
>
[quoted text clipped - 17 lines]
> Thanks,
> Radu
joseph mallier - 29 Sep 2005 17:28 GMT
create a view which contain only the coulmns u want to give access to
tht user,and give permission to that view for tht user.Hope this will
help u
cheers,
Joe