Re: hide SOME query results for unauthorized users
- From: Derek <Derek@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Jun 2009 14:36:01 -0700
Thanks.
Ok, I know how to make a table. I know how to assign a password to a
database to make it impossible to open without the password. What I'm
confused about is how to set-up a "login" procedure. Is it done via a
switchboard or something?
"June7 via AccessMonster.com" wrote:
Building tables is the easy part. Use the table designer tool. Define fields.
you desire (name, data type, etc.) Possible fields for Users table: LastName,
FirstName, Title, Department, SecurityLevel, PhExt.
The tricky part comes in controlling user access. You want them to be able to
create their own queries. If you let them use the toolbar tools then you
might have no control. I have a form in my project that has comboboxes from
which the users can select criteria (date range, document number, etc). Then
with VBA code I compile a SQL SELECT statement or set form Filter properties
(depending on the criteria selected) that will execute the users request. The
toolbars are not available to users. They are totally at my mercy -
bwahahahaha! The form RecordSource as well as these combobox lists of
choices can limited based on the user login ID.
Not having a specific issue to solve, can't offer any more than to say it can
be done. You will learn a lot by doing, so dive in and when you have specific
issue, post a question.
Derek wrote:
Thank you for the response. To answer your questions; my DB is not created
yet, I am still in the planning stage so I don't have anything constructed.
When I do have tables, one of the columns will be a checkbox for any user
(but typically only the users who are generating the sensitive data) to flag
the record as sensitive. Sure, you can hide from everyone all records in a
query that are flagged by splitting the database and excluding all but a few
from the back-end. But if I want everyone to be able to create their own
queries how do I allow some but not all users to see the flagged records.
The users table you mention sounds interesting - but I have no idea how to
create one.
I presume you have some kind of login procedure, perhaps even with password[quoted text clipped - 8 lines]
protection, and you have a table of Users and Login info. Include the tag
a record as being available to permission holders, but how can I keep the
data in the record from being viewed by users without that permission?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200906/1
- Follow-Ups:
- Re: hide SOME query results for unauthorized users
- From: June7 via AccessMonster.com
- Re: hide SOME query results for unauthorized users
- References:
- hide SOME query results for unauthorized users
- From: Derek
- Re: hide SOME query results for unauthorized users
- From: June7 via AccessMonster.com
- Re: hide SOME query results for unauthorized users
- From: Derek
- Re: hide SOME query results for unauthorized users
- From: June7 via AccessMonster.com
- hide SOME query results for unauthorized users
- Prev by Date: Re: Selecting the same field more than once
- Next by Date: Query Too Complex But it is pretty simple.
- Previous by thread: Re: hide SOME query results for unauthorized users
- Next by thread: Re: hide SOME query results for unauthorized users
- Index(es):
Relevant Pages
|