473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Security--permissions not working properly

I'm having trouble with security on an A97 database.

First, yes I've read the white paper several times, followed all the
directions, and got security established correctly (or so I thought). There
are two problems, however.

One just occurred in the past couple of days. I added a new feature to a form,
which is a button that pops up a new form showing some summary data. The popup
form has a query as its recordsource, and the run permissions on the query are
set to Owner. Yet when a user who has only limited permissions clicks the
button, they get the error message 3112, no read permissions on the query that
drives the form.

The other is recurring but not consistent. The main database administrator
(this is my client), who has admin permissions and thus should be able to do
everything, is occasionally thwarted in trying to do something because the
system says she doesn't have the proper permissions to do it. If she signs out
and signs in again as me (I have the same permissions as she does but I'm also
the "owner" since I designed the db), she can do whatever she likes. Frankly,
this problem isn't as big as the first one because she can in fact always just
sign in again as me and do what she needs to do, but it's annoying nonetheless.

I don't know what to do about this. Seems like maybe security is corrupted
somehow? Is there a way to rebuild it? Other ways around these issues?

TIA

Jan
Jan Stempel
Stempel Consulting
Nov 12 '05 #1
8 1958
"Janross" <ja*****@aol.com> wrote in message
news:20***************************@mb-m23.aol.com...
I'm having trouble with security on an A97 database.

First, yes I've read the white paper several times, followed all the
directions, and got security established correctly (or so I thought). There are two problems, however.

One just occurred in the past couple of days. I added a new feature to a form, which is a button that pops up a new form showing some summary data. The popup form has a query as its recordsource, and the run permissions on the query are set to Owner. Yet when a user who has only limited permissions clicks the
button, they get the error message 3112, no read permissions on the query that drives the form.

The other is recurring but not consistent. The main database administrator (this is my client), who has admin permissions and thus should be able to do everything, is occasionally thwarted in trying to do something because the
system says she doesn't have the proper permissions to do it. If she signs out and signs in again as me (I have the same permissions as she does but I'm also the "owner" since I designed the db), she can do whatever she likes. Frankly, this problem isn't as big as the first one because she can in fact always just sign in again as me and do what she needs to do, but it's annoying nonetheless.
I don't know what to do about this. Seems like maybe security is corrupted somehow? Is there a way to rebuild it? Other ways around these issues?

TIA

Jan
Jan Stempel
Stempel Consulting

Have you got any idea how long it would take you to re-set the security from
scratch? If it was a straight-forward set up, it might be under 5 minutes.
You could join the workgroup as yourself, create a new database and import
all the objects into the new one - so that the new one is unsecured. You
can now re-join the system.mdw and use a shortcut to open the database using
the other mdw file.
Start the workgroup administrator, and select a group, eg "Standard Users"
then highlight all the forms including new forms (use ctrl / shift keys to
select several forms at a time) and set Open / Run to true and the rest to
false. Then the same with Database, Tables, Reports, etc. That could take
30 seconds to set all permissions for one group. Now the next group
"Read-Only Users", etc, etc.
You may realise this already, but my point is simply to highlight the fact
that if (especially if you suspect something is wrong) then completely
re-setting security may be only take you as long as it took me to write
this.

Fletcher
Nov 12 '05 #2
>> I'm having trouble with security on an A97 database.

First, yes I've read the white paper several times, followed all the
directions, and got security established correctly (or so I thought).

There
are two problems, however.

One just occurred in the past couple of days. I added a new feature to a

form,
which is a button that pops up a new form showing some summary data. The

popup
form has a query as its recordsource, and the run permissions on the query

are
set to Owner. Yet when a user who has only limited permissions clicks the
button, they get the error message 3112, no read permissions on the query

that
drives the form.

The other is recurring but not consistent. The main database

administrator
(this is my client), who has admin permissions and thus should be able to

do
everything, is occasionally thwarted in trying to do something because the
system says she doesn't have the proper permissions to do it. If she

signs out
and signs in again as me (I have the same permissions as she does but I'm

also
the "owner" since I designed the db), she can do whatever she likes.

Frankly,
this problem isn't as big as the first one because she can in fact always

just
sign in again as me and do what she needs to do, but it's annoying

nonetheless.

I don't know what to do about this. Seems like maybe security is

corrupted
somehow? Is there a way to rebuild it? Other ways around these issues?

TIA

Jan
Jan Stempel
Stempel Consulting

Have you got any idea how long it would take you to re-set the security from
scratch? If it was a straight-forward set up, it might be under 5 minutes.
You could join the workgroup as yourself, create a new database and import
all the objects into the new one - so that the new one is unsecured. You
can now re-join the system.mdw and use a shortcut to open the database using
the other mdw file.
Start the workgroup administrator, and select a group, eg "Standard Users"
then highlight all the forms including new forms (use ctrl / shift keys to
select several forms at a time) and set Open / Run to true and the rest to
false. Then the same with Database, Tables, Reports, etc. That could take
30 seconds to set all permissions for one group. Now the next group
"Read-Only Users", etc, etc.

Thanks. I thought that might be the solution, just didn't know exactly how to
do it once security is established. I'll give it a try (won't be for a couple
of days though as I have to go out of town for a different client tomorrow,
then play catch-up). Will write again if it doesn't work.

Jan
Jan Stempel
Stempel Consulting
Nov 12 '05 #3
Janross (ja*****@aol.com) wrote:
<snip>
: I'll give it a
: try (won't be for a couple of days though as I have to go out of town
: for a different client tomorrow, then play catch-up). Will write
: again if it doesn't work.
:
: Jan
: Jan Stempel
: Stempel Consulting

I'll be curious to see any solutions -- I'm running into the same issue,
even on queries/tables where I'm the owner (no delete permissions on...
messages).
--
Please remove the under_scores if sending me mail.

Nov 12 '05 #4
ja*****@aol.com (Janross) wrote:
One just occurred in the past couple of days. I added a new feature to
a form, which is a button that pops up a new form showing some summary
data. The popup form has a query as its recordsource, and the run
permissions on the query are set to Owner. Yet when a user who has
only limited permissions clicks the button, they get the error message
3112, no read permissions on the query that drives the form.


Even if the query is set to Owner Access, your users *still* need
permissions to read the query. Owner Access gives owner permissions to the
underlying table, not the query itself.

HTH - Keith.
www.keithwilby.org.uk
Nov 12 '05 #5
ja*****@aol.com (Janross) wrote:
The other is recurring but not consistent. The main database
administrator (this is my client), who has admin permissions and thus
should be able to do everything, is occasionally thwarted in trying to
do something because the system says she doesn't have the proper
permissions to do it. If she signs out and signs in again as me (I
have the same permissions as she does but I'm also the "owner" since I
designed the db), she can do whatever she likes. Frankly, this problem
isn't as big as the first one because she can in fact always just sign
in again as me and do what she needs to do, but it's annoying
nonetheless.


I'm not sure, but this may be to do with who owns the objects. Try setting
ownership to the admin group and not a specific admin user.
Nov 12 '05 #6
Keith Wilby <ke*********@AwayWithYerCrap.com> wrote in message > Even if the query is set to Owner Access, your users *still* need
permissions to read the query. Owner Access gives owner permissions to the
underlying table, not the query itself.

HTH - Keith.
www.keithwilby.org.uk


And for split databases, you need to have permissions for the table
LINKS and the tables on the backend. I was having a similar 'crazy'
problem until I realized that I hadn't reset the backend tables'
security settings!
Pete
Nov 12 '05 #7
ps********@zombieworld.com (Pete) wrote:
And for split databases, you need to have permissions for the table
LINKS and the tables on the backend.


A fair comment in isolation, but in this context the whole point of the
Owner Access property is to give the ordinary user the same rights to the
data in your tables as the owner! It would be unusual, to say the least,
for the owner of a table to not have full permissions to the data by
default ...
Nov 12 '05 #8
Thanks to all for your help. In starting to do the fix that Fletcher suggested
(rebuild security) I discovered the cause of the first problem (where basic
users couldn't get to one popup form). Turns out when I set security in the
first place, I didn't give basic users read-write access to new queries, so
when I created a new form driven by a query, they didn't in fact have
permission for it! Stupid mistake, now fixed.

As for the other, more confusing problem, in which a user in the admins group
is periodically denied permission to do things, I'll have to pursue the rebuild
to see if that helps (I stopped the process since I solved the first more
pressing problem; save it for when I have more time). And since that problem
is so intermittent, it will take a while to figure out if it's fixed.

Thanks again.

Jan
Jan Stempel
Stempel Consulting
Nov 12 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: weasel | last post by:
Why is the Farenheit to Celsius part not working properly? Instead of showing a similar range of what the farenheit is listing, the celsius portion is showing half the range of farenheit. print...
1
by: Roberto Castro | last post by:
I have some problems with the way I am showing the BLOB fields in the Image web controls. It does work on my localhost though sometimes I need to hit Refresh for the images to load properly....
5
by: Nita Raju | last post by:
Hi, I have to validate a textbox for date without using the validation controls. So i had to use IsDate(). It's not working properly when i give "11//2004". When i enter the above date it...
2
by: Annu | last post by:
Hi I need help on <enbed> tag. Following code(No 1) is working properly on windows but on linux code no.2 is not working Code No 1: <EMBED type='application/x-mplayer2' ...
12
kamill
by: kamill | last post by:
I have done a logout page for logout from admin section and provides a link to logout from admin section.Whenever i clicked on logout link it redirected to index.php of admin section......BUT when i...
5
by: damezumari | last post by:
When a user logs in to my site http://iwantyourquestion.com I set $_SESSION to true if his username and password are OK. When he calls a page I check if $_SESSION is true. If it not I ask him to...
3
by: rajasree | last post by:
Hi all, am doing a project in PHP. my javascript code is working properly in ie. But its not working in firefox. Please help me my code is as follows; <script language="javascript"...
4
by: zairali | last post by:
Hi, I am trying to fix a webpage ( http://www.d.umn.edu/itss/labs/maps/ ) which uses some html (or xml also?) to show pop ups when you rollover the numbers on a map of the building. They work fine...
8
by: neovantage | last post by:
Hey all, Website page is not working properly in IE6 and IE7 but working normal in firefox. Can somebody tell me how i can fixed that problem. Here is the url of the page http://www.ragehockey.biz/...
1
by: Jiwei06xie | last post by:
Hi, I have a main form with 3 subforms and some combo boxes. It is working fine as an independent form. However, when I draged into a tabcontrol page, two off the combo boxes stopped working...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.