Re: Security without signon
- From: Joan Wild <jwild@xxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jan 2009 13:55:19 -0500
Not my experience. I have never had to give the query owner explicit permissions on the tables (shouldn't need to since the query owner is the owner of the tables as well).
Your super user should not need to inherit any permissions from any group, as the owner trumps all.
Your explanation makes sense to me, but only if Super User did not own the tables.
Joan
Zardoz wrote:
Sorry to post so long after the fact, but I just came upon this very interesting discussion while researching my own related problem with RWOP queries..
After seeing Joan state so unequivocally that RWOP queries will work even if the owner is not in the production mdw, I decided to investigate further why this was not my experience. Turns out that she is right, of course, but I'll share with you why it wasn't working for me.
The owner of all of the objects in my front-end mdb, including the queries, was an individual "super user" (i.e., not a group). When I secured the back-end mdb, I gave table permissions to the administrator group (not Admins) that this user was a member of and gave no table permissions explicitly to the individual "super user", assuming that permissions would flow through to the "super user" by virtue of membership in the administrator group.
Well, with one important 'Gotcha', it appears as if the permissions do flow through as you would normally expect, as the "Super User" was able to access the tables as per usual. However, anyone using the default System mdw would get error 3112 (no read permission) even though the default Admin user had appropriate permissions on the queries in the secured front-end. When I changed security in the back-end so that the "Super User" was explicitly granted permissions on the tables, then everything worked for users with the default System mdw just as Joan suggested it would.
So the 'Gotcha' is that, with RWOP queries, permissions do not flow-through from a Group to a user. If an individual user is specified as the owner of the query, then for that query to work as a RWOP query, that individual owner must have explicit permissions on the back-end table, not permissions that are inherited by virtue of group membership.
It will also work if the owner of the query is a group and the group has permissions on the back-end table. You can change the ownership of the query to a group if you want. The important point is that the names must match--the owner of the query must also have explicit permissions on the back-end table, whether that be a group or an individual user.
- Follow-Ups:
- Re: Security without signon
- From: Zardoz
- Re: Security without signon
- References:
- Re: Security without signon
- From: Zardoz
- Re: Security without signon
- Prev by Date: Re: Security without signon
- Next by Date: Re: Using logon name and password within a form
- Previous by thread: Re: Security without signon
- Next by thread: Re: Security without signon
- Index(es):
Relevant Pages
|