S
Sue
I have a secured database that is used by multiple users. Because I don't
want users to clutter up the database with their own tables and queries, I
used the sample code from the Access Security FAQ to turn off permissions to
create tables and queries.
Now, here's my problem. My database uses linked tables, and I need to give
users the ability to relink these tables. The linked tables have the
following permissions in my front-end DB: Read Design, Modify Design, Read
Data, Update Data, Insert Data, and Delete Data. I added some relinking code
that updates the connection property of each linked tabledef, and then
refreshes the link. This code works perfectly when I'm logged in as the
administrator. Unfortunately, when I open the application as a "regular"
user and attempt to run the relink procedure, I get a permissions error
("Could not create; no modify design permission for table or query '|'"). If
I turn the ability to create tables and queries back on, the relinking code
will run without error, so it appears that create permissions are required to
relink a linked table. This strikes me as odd, since, technically, I'm not
creating a table - I'm modifying the design of an existing table.
Am I missing something with my security? Or is it just not possible to
allow users to relink linked tables, and prevent them from creating tables.
Thanks!
Sue
want users to clutter up the database with their own tables and queries, I
used the sample code from the Access Security FAQ to turn off permissions to
create tables and queries.
Now, here's my problem. My database uses linked tables, and I need to give
users the ability to relink these tables. The linked tables have the
following permissions in my front-end DB: Read Design, Modify Design, Read
Data, Update Data, Insert Data, and Delete Data. I added some relinking code
that updates the connection property of each linked tabledef, and then
refreshes the link. This code works perfectly when I'm logged in as the
administrator. Unfortunately, when I open the application as a "regular"
user and attempt to run the relink procedure, I get a permissions error
("Could not create; no modify design permission for table or query '|'"). If
I turn the ability to create tables and queries back on, the relinking code
will run without error, so it appears that create permissions are required to
relink a linked table. This strikes me as odd, since, technically, I'm not
creating a table - I'm modifying the design of an existing table.
Am I missing something with my security? Or is it just not possible to
allow users to relink linked tables, and prevent them from creating tables.
Thanks!
Sue