Re: table security
From: David Gugick (davidg-nospam_at_imceda.com)
Date: 12/31/04
- Next message: David Gugick: "Re: Problem using SP_TRACE_SETFILTER - it doesn't seem to apply th"
- Previous message: David Gugick: "Re: Problem of processors spikeing alot"
- In reply to: Jim: "table security"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 31 Dec 2004 03:33:02 -0500
Jim wrote:
> Hi
>
> I want to implement security based on permissions for groups. So
> administratorsusers have access to all rows of a certain table/view
> whilst users with less priviliges have access to a limited amount of
> rows. I was thinking storing the tablecolumn + value in a table and
> then updating the whereclause dynamically...
>
> Thanks
>
> Jim
You should do this using the built-in SQL Server security, not using a
home grown process. You can add roles and then assign users to those
roles. You can then grant and revoke rights for each role. See BOL topic
"Roles" for more information.
-- David Gugick Imceda Software www.imceda.com
- Next message: David Gugick: "Re: Problem using SP_TRACE_SETFILTER - it doesn't seem to apply th"
- Previous message: David Gugick: "Re: Problem of processors spikeing alot"
- In reply to: Jim: "table security"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|