![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
It seems to be necessary to grant the CONTROL permission (besides SELECT and VIEW DEFINITION) to display the connected table within Access. |
#3
| |||
| |||
|
|
I want to access a SQL Server table on a 2005 server via an Office Access project (*.adp). Only read access is wanted. It seems to be necessary to grant the CONTROL permission (besides SELECT and VIEW DEFINITION) to display the connected table within Access. Unfortunately I didn't found much precise information about CONTROL permission. But it seems no one want to permit CONTROL to read only users. |
|
I'm not allowed to explicitely deny the CONTROL permission. If I do so, the table isn't displayed as a connected table in the Access project. |
#4
| |||
| |||
|
|
CONTROL means everything, so, no you don't want to grant that. Nor should it be necessary. |
|
Why do you think you need CONTROL? Do you get errors if you don't? |
|
I'm not allowed to explicitely deny the CONTROL permission. If I do so, the table isn't displayed as a connected table in the Access project. Not really sure why you try that. Since you only have CONTROL if you are granted that permissions, there is no reason to DENY users CONTROL, is there? |
#5
| |||
| |||
|
|
Meanwhile I suppose I've recognized the meaning of CONTROL: CONTROL means everything, like you've described. *But* DENY CONTROL means everything, too - so DENY allowed SELECT, too... (That's not very intuitive, in my opinion. |
|
And with the GUI you're lead to deny all permissions which you are not explicitly want to allow.) |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Because there are different ways for users to get permissions/access in MS SQL Server (i.e. inherition), in my idea it would be nice to deny all unwanted rights, independant to ways which SQL inventors imagine years ago. |
|
So I've to guess that not denying of VIEW DEFINITION is the same as GRANT VIEW DEFINITION. I've to guess that the permission VIEW DEFINITION is necessary to get data by a SELECT. |
|
(In general, VIEW DEFINITION shouldn't be necessary! But it is!) |
#8
| |||
| |||
|
|
Hello Erland! Thanks for your reply! Unfortunately your infos went into wrong way. The original/general meaning/sense of DENY (and so on) is well known. Because there are different ways for users to get permissions/access in MS SQL Server (i.e. inherition), in my idea it would be nice to deny all unwanted rights, independant to ways which SQL inventors imagine years ago. GUI: Yes, you're right - an user of a GUI have to guess/hope that things would run like expected... (But if the GUI is the "MS SQL Server Management Studio" I'm expecting much more than from a shareware GUI tool... ;-)) ) And for quick and dirty operations the main config application should do precise jobs... The misunderstandig of DENY CONTROL came up because of a similar strange bahaviour: Originally I only want to GRANT a SELECT permission. So I DENY all other permissions. But I only get data if I don't deny CONTROL *and* VIEW DEFINITION. So I've to guess that not denying of VIEW DEFINITION is the same as GRANT VIEW DEFINITION. I've to guess that the permission VIEW DEFINITION is necessary to get data by a SELECT. (In general, VIEW DEFINITION shouldn't be necessary! But it is!) So I guessed the same behaviour for CONTROL permission (which was a wrong assumption). |
![]() |
| Thread Tools | |
| Display Modes | |
| |