473,949 Members | 1,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Preventing reading of a lookup table Acc2000

I have a lookup table which contains authorisation codes for a
particular operation.

When a user makes a booking a random reference number is generated.
The user obtains the code from his/her supervisor and inputs it to
allow the operation to continue. In VBA the authorisation is checked
(DLookUp) for validity.

I have activated full security but find that obviously DLookup will
only work if there is read permission for the table. But this means
that users can potentially open the table and observe the contents.
How can I avoid this?

Many thanks for any help.

Chris
Nov 13 '05 #1
3 1675
On 3 Sep 2004 05:29:56 -0700, gr**********@ho tmail.com (Chris) wrote:

Security is an advanced topic. Download, study, and fully understand
the Access Security FAQ from microsoft.com. Among other things you'll
learn about RWOP queries. You should replace DLookup with a RWOP
query.

Alternatively you can store the authorization codes in encrypted form,
and decrypt them in code. Your code is compiled to MDE (right?) so
users can't inspect your algorithm.

-Tom.

I have a lookup table which contains authorisation codes for a
particular operation.

When a user makes a booking a random reference number is generated.
The user obtains the code from his/her supervisor and inputs it to
allow the operation to continue. In VBA the authorisation is checked
(DLookUp) for validity.

I have activated full security but find that obviously DLookup will
only work if there is read permission for the table. But this means
that users can potentially open the table and observe the contents.
How can I avoid this?

Many thanks for any help.

Chris


Nov 13 '05 #2
Tom van Stiphout <no************ *@cox.net> wrote in message news:<2b******* *************** **********@4ax. com>...
On 3 Sep 2004 05:29:56 -0700, gr**********@ho tmail.com (Chris) wrote:

Security is an advanced topic. Download, study, and fully understand
the Access Security FAQ from microsoft.com. Among other things you'll
learn about RWOP queries. You should replace DLookup with a RWOP
query.

Alternatively you can store the authorization codes in encrypted form,
and decrypt them in code. Your code is compiled to MDE (right?) so
users can't inspect your algorithm.

-Tom.

I have a lookup table which contains authorisation codes for a
particular operation.

When a user makes a booking a random reference number is generated.
The user obtains the code from his/her supervisor and inputs it to
allow the operation to continue. In VBA the authorisation is checked
(DLookUp) for validity.

I have activated full security but find that obviously DLookup will
only work if there is read permission for the table. But this means
that users can potentially open the table and observe the contents.
How can I avoid this?

Many thanks for any help.


Thanks for your help, Tom. I like to think that I know Access Security
quite well having written a fair number of databases over the years
which utilise it, and secfaq.doc has been resident on my PC for some
while. I did know about RWOP but this has no advantage in my situation
over DLookUp.

My requirement was/is to prevent certain users from being able to read
a lookup table containing authorisation codes, but at the same time
via code to be able to verify a code which that user has just input.

There are other ways to achieve the same result, one being to
calculate the auth code then and there using predetermined formulae
(in code), or else to hide the lookup table from view by using the
Usys prefix.

If anyone has any better suggestions, I'd be delighted to hear them.

Many thanks

Chris
Nov 13 '05 #3
On 5 Sep 2004 16:03:13 -0700, gr**********@ho tmail.com (Chris) wrote:

Hi Chris,
Good to hear you already are very familiar with seqfaq. That's
sometimes hard to gauge from an occasional post.
It struck me that if you want to deny certain users from accessing a
table in the back-end, yet you wanted your app to have access to that
table while that user is logged in, RWOP queries are one of the very
few options.
Now I'm reading you are considering hiding the table by using the USys
prefix. This is similar to using the Hidden attribute. That would
perhaps keep casual users out, but not knowledgeable determined ones.

Best of luck,

-Tom.

<clip>

Thanks for your help, Tom. I like to think that I know Access Security
quite well having written a fair number of databases over the years
which utilise it, and secfaq.doc has been resident on my PC for some
while. I did know about RWOP but this has no advantage in my situation
over DLookUp.

My requirement was/is to prevent certain users from being able to read
a lookup table containing authorisation codes, but at the same time
via code to be able to verify a code which that user has just input.

There are other ways to achieve the same result, one being to
calculate the auth code then and there using predetermined formulae
(in code), or else to hide the lookup table from view by using the
Usys prefix.

If anyone has any better suggestions, I'd be delighted to hear them.

Many thanks

Chris


Nov 13 '05 #4

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

Similar topics

11
19052
by: John Collyer | last post by:
Hi, In assembly language you can use a lookup table to call functions. 1. Lookup function address in table 2. Call the function Like: CALL FUNCTION
1
3117
by: James E | last post by:
I have a question about best practices of how to deal with lookup data from my C# apps. On a couple of occasions I have come across a problem where I have to automate inserting a record into a table that has a foreign key constraint that is linked to a lookup table. E.g. Take the following database structure: SQL-Server Database: Table 1:
9
7045
by: Koen | last post by:
Hi all, My application uses a lot of lookup tables. I've splitted the frontend (forms, reports, etc) from the backend (data). The database has around 10 different users. The values in the lookup tables are not likely to change. Question 1: Should I include them in the backend (with rest of data) or the frontend?
6
3065
by: Vladislav Moltchanov | last post by:
I have discovered a couple of years ago, that import with DoCMD.TransferText for CSV text file doesn’t work in Acc2000, while it works perfectly in ACC97. which has been discussed on this newsgroup forum, so this fact was fixed. Since I have to transfer files from VMS( SAS ) to WIN (Access), I still keep using ACC97 as a simplest and reliable tool. However, final products, such as distributable data entry system for multi central...
1
3389
by: Zachary Turner | last post by:
I want to make a Lookup Field based on another Lookup field. In other words, I have this table A with two fields: ID and Name, where ID is an Autonumber and Name is a friendly name. Then I have a table B which links to A via a Lookup Field so that I can select the friendly name from combo box. Now, I want to have a table C which links to table B via a lookup field, and only displays the items which are selected in some combo box of some...
3
10703
by: google | last post by:
I have a database with four table. In one of the tables, I use about five lookup fields to get populate their dropdown list. I have read that lookup fields are really bad and may cause problems that are hard to find. The main problem I am having right now is that I have a report that is sorted by one of these lookup fields and it only displays the record's ID number. When I add the source table to the query it makes several records...
1
1913
by: Paul H | last post by:
Say I have a table called tblPeopleInfo, one of the fields in the table is called FavouriteFruit. The FavouriteFruit field is a lookup field and will contain Apples, Oranges, Grapes etc..The list can be added to by users of the database. What is the best way to construct this lookup? Should it lookup a Table/Query or a Value List? If it looks up to a Table/Query should the lookup table just have a single "text" field or should it have...
4
4634
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box bound to a table as a lookup, drawing values from another table to populate the available selections. This all worked fine in VB6. I have distilled the problem down to a simple form drawing data from the Northwind database for a representative...
11
4026
by: ianoble | last post by:
I've been trying to piece together various code snippets to create a lookup table inside my xslt without the need for a supplemental xml file. Here is what I have so far. As of now, it does not return anything in the output. I would love to be able to query the xref:factor table to retrieve the value of xref:factor/lookup <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE xsl:stylesheet > <xsl:stylesheet...
0
10170
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9989
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11591
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11185
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11358
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
8262
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4952
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 we have to send another system
3
3552
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.