PC Review


Reply
Thread Tools Rate Thread

Accessing Tables with Shift Key disabled

 
 
=?Utf-8?B?bWlsZXN0?=
Guest
Posts: n/a
 
      29th Jul 2005
Have a form based Access 2003 database with Shift key disabled. However, two
settings I do not want users to change are stored in a database table. How
easy is it for a user to gain access to this table without going to the
trouble of buying/using a hack programme?
 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      29th Jul 2005
milest wrote:
> Have a form based Access 2003 database with Shift key disabled.
> However, two settings I do not want users to change are stored in a
> database table. How easy is it for a user to gain access to this
> table without going to the trouble of buying/using a hack programme?


If all you have done is disable shift it would take virtually nothing to get at
the table. All they have to do is create a new file and link to or import the
table from your file.

You could hide it which would require that they know how to adjust their options
to show hidden objects. You could prefix the name with "Usys" and that would
require that they change their options to show system objects. You could place
that table in another file stored in an obscure location with an obscure name
and only pull the data from it in your app in code (don't create an actual
link).

Other than these and other obfuscation techniques you would have to utilize the
User Level Security available in Access. While that can be hacked it does
require that they obtain a utility for doing so.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


 
Reply With Quote
 
=?Utf-8?B?bWlsZXN0?=
Guest
Posts: n/a
 
      31st Jul 2005
Thank you; interesting thoughts and your first point alarmed me as I didn't
realise it was that simple!! Will look into other points you made.

"Rick Brandt" wrote:

> milest wrote:
> > Have a form based Access 2003 database with Shift key disabled.
> > However, two settings I do not want users to change are stored in a
> > database table. How easy is it for a user to gain access to this
> > table without going to the trouble of buying/using a hack programme?

>
> If all you have done is disable shift it would take virtually nothing to get at
> the table. All they have to do is create a new file and link to or import the
> table from your file.
>
> You could hide it which would require that they know how to adjust their options
> to show hidden objects. You could prefix the name with "Usys" and that would
> require that they change their options to show system objects. You could place
> that table in another file stored in an obscure location with an obscure name
> and only pull the data from it in your app in code (don't create an actual
> link).
>
> Other than these and other obfuscation techniques you would have to utilize the
> User Level Security available in Access. While that can be hacked it does
> require that they obtain a utility for doing so.
>
> --
> I don't check the Email account attached
> to this message. Send instead to...
> RBrandt at Hunter dot com
>
>
>

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      1st Aug 2005
There is a way to do it (without using Access security) if you make
your database into an MDE, so that the users can not see or change your
code.

Say the value that you want to protect, is 999. Don't store 999.
Instead, store:

encrypt(999 & checksum(999))

where checksum() returns a checksum of the specified value, and
encrypt() encrypts the specified value in some reversible manner.

Then, when your code needs to retrieve the controlled value:

- get the value from the table;
- decrypt it;
- validate the checksum.

By that means, the user can see something in the table, but the value
does not make sense to him (because it has been encrypted), /and/, he
can not change it (because the checksum will then be incorrect).

Rough - but often effective. However, you do need to understand the
basics of encryption, and checksumming, before you could do this.

HTH,
TC

 
Reply With Quote
 
=?Utf-8?B?bWlsZXN0?=
Guest
Posts: n/a
 
      1st Aug 2005
This is very helpful but I am guilty of failing to tell the whole story. I
need to be able to change these values (or rather I wish users to be able to,
if they have paid extra) and I have then supplied them with a 'code'; in
other words the database they originally bought is to beupgradeable. However
I do not wish each supplied version of the database to have to be uniquely
different as this would be too hard to implement.

Will try to learn about encryption and checksums to understand it more and
see whether I can develop what you suggest. Many thanks again.

"TC" wrote:

> There is a way to do it (without using Access security) if you make
> your database into an MDE, so that the users can not see or change your
> code.
>
> Say the value that you want to protect, is 999. Don't store 999.
> Instead, store:
>
> encrypt(999 & checksum(999))
>
> where checksum() returns a checksum of the specified value, and
> encrypt() encrypts the specified value in some reversible manner.
>
> Then, when your code needs to retrieve the controlled value:
>
> - get the value from the table;
> - decrypt it;
> - validate the checksum.
>
> By that means, the user can see something in the table, but the value
> does not make sense to him (because it has been encrypted), /and/, he
> can not change it (because the checksum will then be incorrect).
>
> Rough - but often effective. However, you do need to understand the
> basics of encryption, and checksumming, before you could do this.
>
> HTH,
> TC
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Menus are disabled, Shift Key doesn't work James E. Carroll Microsoft Access 1 23rd Sep 2008 04:38 PM
Disabled Shift Key =?Utf-8?B?ZmVsaWNpdGVh?= Microsoft Access Security 2 13th Nov 2005 11:07 PM
Shift Key has been disabled on Startup =?Utf-8?B?Qnl6YW50aW5l?= Microsoft Access 3 4th Feb 2005 04:05 PM
shift keys disabled emma Windows XP Hardware 0 1st Dec 2003 06:34 PM
left shift key is disabled by accident jay Microsoft Windows 2000 Applications 2 30th Jul 2003 02:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:47 PM.