473,505 Members | 15,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Jan 2 '06 #1
3 2051
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" <Ye********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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

Jan 3 '06 #2
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" <Ye********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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

Jan 3 '06 #3
On 1 Jan 2006 22:05:45 -0800, "Nerrad" <Ye********@gmail.com> wrote:
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


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
Jan 4 '06 #4

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

Similar topics

5
2569
by: Ben Jessel | last post by:
I am in the process of converting my site to using XHTML and CSS. A lot of my sites include tables of data, which are highlighted using javascript rollovers. I have converted my a lot of my...
0
1433
by: Rick | last post by:
Hi Group, I am trying to change a users password in Active Directory. I am getting an error that reads: "Configuration information could not be read from the domain controller, either because...
19
4065
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
2
2090
by: Együd Csaba | last post by:
Hi All, I'm wonder if there is any possibility to modify a users password by updating the pg_shadow table. I'd like to ensure that when the user modifies his/her http password (htpasswd) than...
11
7037
by: raj96ct18 | last post by:
Hi, I need to know how do i give multiple drive connection to users. Iam using windows 2003 server as my file server, right now iam able to give only one drive access to the users. but now i need...
2
2349
by: maanasa | last post by:
hi, My question is can we retrieve data from oracle in built tables like dba_users, dba_roles, dba_role_privs on to a text field using oracle forms. If yes then what're the privileges that needs to...
5
1776
by: Reds | last post by:
HI, I have just started using Web Forms. It seems that I'm not able to do some things that Windows Forms allow me to do. For example, I tried to implement a counter using a module level...
1
1661
by: santhanalakshmi | last post by:
Hi, Any one let me know, where will store all the users password plus the root password(sa) in MSSQL server 2008? In which tables we will find all the passwords ? I...
6
4313
by: Matt Rose | last post by:
Update a MYSQL db password using crypt() technology on MYSQL connection. I am looking to update a user table of passwords that were inserted without using crypt() on a Perl development project. I...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7370
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...
1
7021
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
5614
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
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.