Assign permissions to allow updates but deny select on table
- From: Tanzen <aaron.nasby@xxxxxxxxx>
- Date: Tue, 10 Jul 2007 18:24:53 -0700
I have a table that I want to deny users to select, but allow inserts,
updates and deletes. So in the permissions for that table, I have
given the security Group Update, Insert and Delete rights and Denied
Select access. I connect to the table via odbc and have been able to
get the Insert queries working fine. However, my attempts to run
Update or Delete queries continually produce errors.
Here is a sample query I'm trying to run
DELETE tblPasswordsforDirector.PassMasterID
FROM tblPasswordsforDirector
WHERE (((tblPasswordsforDirector.PassMasterID)=339));
Here is a summary of the odbc error I get:
Select Permission denied on column 'password' of object
tblPasswordsforDirector.
In troubleshooting, I tried to use the COLUMN permissions to give
Select access to the two columns I don't care if the users see, and
then Deny Select access on the two columns I don't want them to see
(one of which happens to be the 'password' column shown in error
above).
I guess I'm a little confused at why a DELETE query requires Select
permissions. And if it does, then why does SQL give you the ability to
Allow DELETE permissions and Deny SELECT permissions on the same
table?
Any help would be most appreciated.
Thanks in advance.
.
- Follow-Ups:
- Re: Assign permissions to allow updates but deny select on table
- From: Erland Sommarskog
- Re: Assign permissions to allow updates but deny select on table
- Prev by Date: Re: How can I see what permissions "VIEW SERVER STATE" has?
- Next by Date: Re: How can I see what permissions "VIEW SERVER STATE" has?
- Previous by thread: How can I see what permissions "VIEW SERVER STATE" has?
- Next by thread: Re: Assign permissions to allow updates but deny select on table
- Index(es):
Relevant Pages
|
|