UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Disable Shift Key In 2010?    
 
   
Adwatts3537
post Apr 26 2012, 11:13 PM
Post #1

UtterAccess Enthusiast
Posts: 57



Hi all~

Is there any way in 2010 to disable the shift key while opening to prevent a savvy user from accessing stuff they shouldn't? I've set the options to disable "special" keys but obviously that's done not a bit of good- is this MS's way of allowing a VERY well known backdoor for developers to get back into the DB?
Go to the top of the page
 
+
HiTechCoach
post Apr 26 2012, 11:24 PM
Post #2

UtterAccess VIP
Posts: 18,396
From: Oklahoma City, Oklahoma



There are code examples in the Access Archive forum. Search for bypass
Go to the top of the page
 
+
akn_39
post Apr 26 2012, 11:25 PM
Post #3

UtterAccess Enthusiast
Posts: 72
From: Victoria, BC



Hi Adwatts3537: I am using this code from databasedev.co.UK in MS/Access 2010.

I hope this helps. . .

Tony N.
Go to the top of the page
 
+
HiTechCoach
post Apr 26 2012, 11:27 PM
Post #4

UtterAccess VIP
Posts: 18,396
From: Oklahoma City, Oklahoma



Here are a few example:

Re-Enabling a Bypassed Shift-Key

ByPass Shift Key Utility for Access 2000, 2002, 2003 and 2007
Go to the top of the page
 
+
HiTechCoach
post Apr 26 2012, 11:29 PM
Post #5

UtterAccess VIP
Posts: 18,396
From: Oklahoma City, Oklahoma



Tony N and Adwatts3537,

Have you looked through the UtterAcess forum Access Code Archive?

I have found many great example there.
Go to the top of the page
 
+
satish
post Apr 27 2012, 12:39 AM
Post #6

UtterAccess Enthusiast
Posts: 90



Is there a way to disable SHIFT BYPASS only in ACCDE? That is I want to disable SHIFT bypass when I make ACCDE but not when in ACCDB.
Go to the top of the page
 
+
pere_de_chipstic...
post Apr 27 2012, 01:51 AM
Post #7

UtterAccess VIP
Posts: 7,591
From: South coast, England



Hi satish

QUOTE
Is there a way to disable SHIFT BYPASS only in ACCDE? That is I want to disable SHIFT bypass when I make ACCDE but not when in ACCDB.


I use this code as part of the start up routine:
CODE
On Error Resume Next
strMDE = .Properties("MDE")                    'If this is an MDE or ACCDE database, disable bypass key
If Err = 0 And strMDE = "T" Then
    CurrentDb.Properties("AllowByPassKey") = 0
End If


The database needs to be opened (to run the code in the start up routine) after the mde/accde is created and before it is distributed.

hth

Edit:
Added reference to CurrentDb

This post has been edited by pere_de_chipstick: Apr 27 2012, 03:32 AM
Go to the top of the page
 
+
HiTechCoach
post Apr 27 2012, 09:41 AM
Post #8

UtterAccess VIP
Posts: 18,396
From: Oklahoma City, Oklahoma



QUOTE (satish @ Apr 27 2012, 12:39 AM) *
Is there a way to disable SHIFT BYPASS only in ACCDE? That is I want to disable SHIFT bypass when I make ACCDE but not when in ACCDB.

Sure.

After I make my mde or accde is when I lock it down.

As Bernie (pere_de_chipstick) pointed out is is easy to test to see if the database been compile. I usually set up my front ends so start up routine looks to see if the database is compiled. If it is then it sets all the start up option and disable the bypass. Before deploying I open the front end once to lock it down.

As part of my lock down, I run most of my front ends with Access in runtime mode. This also disables the navigation pane (or database window in older versions) completely. There is also a easy way to test for the mode. If the database is compiled then I test for runtime mode. If not in runtime mode I close the database.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 26th May 2013 - 03:41 AM