How can I restrict the access of a table just for one specific db user in MS Access by SQL DDL statemets?
Asked
Active
Viewed 261 times
0
-
See GRANT and REVOKE here: https://msdn.microsoft.com/en-us/library/bb177904(v=office.12).aspx – MartynA Feb 09 '17 at 09:08
-
If your database format is 2007+ (accdb) you can't. – Gustav Feb 09 '17 at 11:32
-
I think you should remove a delphi tag in this regard – Alec Feb 09 '17 at 13:03
1 Answers
1
Use Grant and Revoke statements
REVOKE {privilege[, privilege, …]} ON {TABLE table | OBJECT object|
CONTAINTER container} FROM {authorizationname[, authorizationname, …]}
Syntax
GRANT {privilege[, privilege, …]} ON {TABLE table | OBJECT object|
CONTAINER container } TO {authorizationname[, authorizationname, …]}
see more: https://msdn.microsoft.com/en-us/library/bb177904%28v=office.12%29.aspx

Alec
- 569
- 2
- 17
- 27