Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 2nd, 2006, 06:15 AM
Nerrad
Guest
 
Posts: n/a
Default different permission for different users for password using tables and forms

hi guys, i have a project on my hand and what i'm told to do is to
create a log-in feature using tables and forms.

Da question is that is there any way to allow different users different
access to enter into the forms or even to prevent some users from
entering data in certain tables?

I know they have a ms-access security feature but was told i had to do
the old way which is drivin me nuts..

Can anyone help me? Realli do appreciate ur help!

Thanxs lotsa!

Regards

  #2  
Old January 3rd, 2006, 06:56 AM
John Welch
Guest
 
Posts: n/a
Default Re: different permission for different users for password using tables and forms

what is "the old way"?
I would try to convince your boss to let you do it the right way, which is
with Access' User Level Security. Once you get it set up correctly (which is
not a simple task - it will take you some studying to get it right) then
logging in and having different permissions for different users is easy to
do. "doing it yourself" might be just as much work, but wont be nearly as
secure.
For info on Access' security, check out:
http://support.microsoft.com/default...t%2Fsecfaq.asp

-John


"Nerrad" <Yeo.darren@gmail.com> wrote in message
news:1136181945.795875.166370@o13g2000cwo.googlegr oups.com...[color=blue]
> hi guys, i have a project on my hand and what i'm told to do is to
> create a log-in feature using tables and forms.
>
> Da question is that is there any way to allow different users different
> access to enter into the forms or even to prevent some users from
> entering data in certain tables?
>
> I know they have a ms-access security feature but was told i had to do
> the old way which is drivin me nuts..
>
> Can anyone help me? Realli do appreciate ur help!
>
> Thanxs lotsa!
>
> Regards
>[/color]


  #3  
Old January 3rd, 2006, 03:45 PM
Larry Linson
Guest
 
Posts: n/a
Default Re: different permission for different users for password using tables and forms

Since you know, and have already told the responsible parties (I presume)
that neither Access Security and certainly not a Security Lite (done the
"old way") is likely to do much more than delay anyone who is serious about
breaking in to your database appliecation, feel free to proceed with
Security Lite.

You will need to invent a coding scheme to cover the different permissions
that you allow. You'll need to code the users' ID and their codes in a table
(just to keep an unknowledgeable manager from poking around, start the name
of that table with USys... so it will not show unless "view system tables"
is checked... name it something that does not reek of security, just in case
one of those managers does poke around and see it.

Use the technique and API described in http://www.mvps.org/access/api/ to
retrieve the user's Windows login, so the user does not have to log in
separately. I believe that technique and API are api0008.htm. If you prefer,
or the management prefers, you can place a password on the Admin user so the
users have to log in via Access security; otherwise, create your own login
form.

As the user enters each form, or before executing a DoCmd.OpenForm, check
this user's permissions against the ones required for the Form and use the
Enabled and Locked properties to prevent changes to those for which the user
only has view permissons.

Larry Linson
Microsoft Access MVP

"Nerrad" <Yeo.darren@gmail.com> wrote in message
news:1136181945.795875.166370@o13g2000cwo.googlegr oups.com...[color=blue]
> hi guys, i have a project on my hand and what i'm told to do is to
> create a log-in feature using tables and forms.
>
> Da question is that is there any way to allow different users different
> access to enter into the forms or even to prevent some users from
> entering data in certain tables?
>
> I know they have a ms-access security feature but was told i had to do
> the old way which is drivin me nuts..
>
> Can anyone help me? Realli do appreciate ur help!
>
> Thanxs lotsa!
>
> Regards
>[/color]


  #4  
Old January 4th, 2006, 12:05 AM
Peter Sutton
Guest
 
Posts: n/a
Default Re: different permission for different users for password using tables and forms

On 1 Jan 2006 22:05:45 -0800, "Nerrad" <Yeo.darren@gmail.com> wrote:
[color=blue]
>hi guys, i have a project on my hand and what i'm told to do is to
>create a log-in feature using tables and forms.
>
>Da question is that is there any way to allow different users different
>access to enter into the forms or even to prevent some users from
>entering data in certain tables?
>
>I know they have a ms-access security feature but was told i had to do
>the old way which is drivin me nuts..
>
>Can anyone help me? Realli do appreciate ur help!
>
>Thanxs lotsa!
>
>Regards[/color]

See http://www.mvps.org/access/api/api0008.htm for retrieving the
network logon name and then set Cancel = True in the form OnOpen event
to stop unauthorised users opening that form.

P
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles