PC Review


Reply
Thread Tools Rate Thread

bypass shift key

 
 
=?Utf-8?B?c2FuZHJhbw==?=
Guest
Posts: n/a
 
      12th Nov 2007
Is there a simple way to disable the use of the shift key so that individuals
cannot get access to tables and other fuctions in a database. I have my
database opening to a form but I don't want anyone to have access to the
information in the background. Also, I myself would still want to have acces
to these table, etc.

any Ideas
 
Reply With Quote
 
 
 
 
Joan Wild
Guest
Posts: n/a
 
      12th Nov 2007
You can use Albert Kallal's utility (of course your users could also use it to re-enable the shiftkey, if they know about it).

Look for 'By Pass Shift Key Code' at http://www.members.shaw.ca/AlbertKal.../msaccess.html


--
Joan Wild
Microsoft Access MVP
"sandrao" <(E-Mail Removed)> wrote in message news:0433E918-51D1-4089-ABC4-(E-Mail Removed)...
> Is there a simple way to disable the use of the shift key so that individuals
> cannot get access to tables and other fuctions in a database. I have my
> database opening to a form but I don't want anyone to have access to the
> information in the background. Also, I myself would still want to have acces
> to these table, etc.
>
> any Ideas

 
Reply With Quote
 
Keith Wilby
Guest
Posts: n/a
 
      12th Nov 2007
"Joan Wild" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
You can use Albert Kallal's utility (of course your users could also use it
to re-enable the shiftkey, if they know about it).

You can minimise those chances by using code to detect that the admins group
is being used:

Sub SetBypassProperty()

'Tries to set the AllowBypassKey property and creates it if it fails to find
it.
'Calls libChangePropertyDdl

Const DB_Boolean As Long = 1
ChangePropertyDdl "AllowBypassKey", DB_Boolean, False
End Sub

Function ChangePropertyDdl(stPropName As String, PropType As
DAO.DataTypeEnum, vPropVal As Variant) As Boolean

' Uses the DDL argument to create a property that only Admins can change.
' Current CreateProperty listing in Access help is flawed in that
' anyone who can open the db can reset properties, such as AllowBypassKey

On Error GoTo ChangePropertyDdl_Err

Dim db As DAO.Database
Dim prp As DAO.Property

Const conPropNotFoundError = 3270

Set db = CurrentDb
' Assuming the current property was created without
' using the DDL argument. Delete it so we can
' recreate it properly
db.Properties.Delete stPropName
Set prp = db.CreateProperty(stPropName, PropType, vPropVal, True)
db.Properties.Append prp

' If we made it this far, it worked!
ChangePropertyDdl = True

ChangePropertyDdl_Exit:
Set prp = Nothing
Set db = Nothing
Exit Function

ChangePropertyDdl_Err:
If Err.Number = conPropNotFoundError Then
' We can ignore when the prop does not exist
Resume Next
End If
Resume ChangePropertyDdl_Exit
End Function

Keith.
www.keithwilby.com

 
Reply With Quote
 
=?Utf-8?B?c2FuZHJhbw==?=
Guest
Posts: n/a
 
      12th Nov 2007
I downloaded the utility from Albert Kallal and it works fine. Just one
other question, If I disable the shiftkey in a data base in my computer and
then zip it and pass it on to the individual who will be using it and it is
placed in his computer will the disable effect still work?

"Joan Wild" wrote:

> You can use Albert Kallal's utility (of course your users could also use it to re-enable the shiftkey, if they know about it).
>
> Look for 'By Pass Shift Key Code' at http://www.members.shaw.ca/AlbertKal.../msaccess.html
>
>
> --
> Joan Wild
> Microsoft Access MVP
> "sandrao" <(E-Mail Removed)> wrote in message news:0433E918-51D1-4089-ABC4-(E-Mail Removed)...
> > Is there a simple way to disable the use of the shift key so that individuals
> > cannot get access to tables and other fuctions in a database. I have my
> > database opening to a form but I don't want anyone to have access to the
> > information in the background. Also, I myself would still want to have acces
> > to these table, etc.
> >
> > any Ideas

>

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      12th Nov 2007
Yes it will still be disabled.

--
Joan Wild
Microsoft Access MVP
"sandrao" <(E-Mail Removed)> wrote in message news:E26BA5CA-5237-4DD0-A4DE-(E-Mail Removed)...
>I downloaded the utility from Albert Kallal and it works fine. Just one
> other question, If I disable the shiftkey in a data base in my computer and
> then zip it and pass it on to the individual who will be using it and it is
> placed in his computer will the disable effect still work?
>
> "Joan Wild" wrote:
>
>> You can use Albert Kallal's utility (of course your users could also use it to re-enable the shiftkey, if they know about it).
>>
>> Look for 'By Pass Shift Key Code' at http://www.members.shaw.ca/AlbertKal.../msaccess.html
>>
>>
>> --
>> Joan Wild
>> Microsoft Access MVP
>> "sandrao" <(E-Mail Removed)> wrote in message news:0433E918-51D1-4089-ABC4-(E-Mail Removed)...
>> > Is there a simple way to disable the use of the shift key so that individuals
>> > cannot get access to tables and other fuctions in a database. I have my
>> > database opening to a form but I don't want anyone to have access to the
>> > information in the background. Also, I myself would still want to have acces
>> > to these table, etc.
>> >
>> > any Ideas

>>

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      12th Nov 2007
The OP never mentioned whether the mdb was secured, so I assumed it wasn't - it won't make a difference in an unsecured mdb.

--
Joan Wild
Microsoft Access MVP
"Keith Wilby" <(E-Mail Removed)> wrote in message news:47386e01$(E-Mail Removed)...
> "Joan Wild" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> You can use Albert Kallal's utility (of course your users could also use it
> to re-enable the shiftkey, if they know about it).
>
> You can minimise those chances by using code to detect that the admins group
> is being used:
>
> Sub SetBypassProperty()
>
> 'Tries to set the AllowBypassKey property and creates it if it fails to find
> it.
> 'Calls libChangePropertyDdl
>
> Const DB_Boolean As Long = 1
> ChangePropertyDdl "AllowBypassKey", DB_Boolean, False
> End Sub
>
> Function ChangePropertyDdl(stPropName As String, PropType As
> DAO.DataTypeEnum, vPropVal As Variant) As Boolean
>
> ' Uses the DDL argument to create a property that only Admins can change.
> ' Current CreateProperty listing in Access help is flawed in that
> ' anyone who can open the db can reset properties, such as AllowBypassKey
>
> On Error GoTo ChangePropertyDdl_Err
>
> Dim db As DAO.Database
> Dim prp As DAO.Property
>
> Const conPropNotFoundError = 3270
>
> Set db = CurrentDb
> ' Assuming the current property was created without
> ' using the DDL argument. Delete it so we can
> ' recreate it properly
> db.Properties.Delete stPropName
> Set prp = db.CreateProperty(stPropName, PropType, vPropVal, True)
> db.Properties.Append prp
>
> ' If we made it this far, it worked!
> ChangePropertyDdl = True
>
> ChangePropertyDdl_Exit:
> Set prp = Nothing
> Set db = Nothing
> Exit Function
>
> ChangePropertyDdl_Err:
> If Err.Number = conPropNotFoundError Then
> ' We can ignore when the prop does not exist
> Resume Next
> End If
> Resume ChangePropertyDdl_Exit
> End Function
>
> Keith.
> www.keithwilby.com
>

 
Reply With Quote
 
=?Utf-8?B?c2FuZHJhbw==?=
Guest
Posts: n/a
 
      12th Nov 2007
Thank You

"Joan Wild" wrote:

> Yes it will still be disabled.
>
> --
> Joan Wild
> Microsoft Access MVP
> "sandrao" <(E-Mail Removed)> wrote in message news:E26BA5CA-5237-4DD0-A4DE-(E-Mail Removed)...
> >I downloaded the utility from Albert Kallal and it works fine. Just one
> > other question, If I disable the shiftkey in a data base in my computer and
> > then zip it and pass it on to the individual who will be using it and it is
> > placed in his computer will the disable effect still work?
> >
> > "Joan Wild" wrote:
> >
> >> You can use Albert Kallal's utility (of course your users could also use it to re-enable the shiftkey, if they know about it).
> >>
> >> Look for 'By Pass Shift Key Code' at http://www.members.shaw.ca/AlbertKal.../msaccess.html
> >>
> >>
> >> --
> >> Joan Wild
> >> Microsoft Access MVP
> >> "sandrao" <(E-Mail Removed)> wrote in message news:0433E918-51D1-4089-ABC4-(E-Mail Removed)...
> >> > Is there a simple way to disable the use of the shift key so that individuals
> >> > cannot get access to tables and other fuctions in a database. I have my
> >> > database opening to a form but I don't want anyone to have access to the
> >> > information in the background. Also, I myself would still want to have acces
> >> > to these table, etc.
> >> >
> >> > any Ideas
> >>

>

 
Reply With Quote
 
=?Utf-8?B?c2FuZHJhbw==?=
Guest
Posts: n/a
 
      12th Nov 2007
Thank You

"Joan Wild" wrote:

> Yes it will still be disabled.
>
> --
> Joan Wild
> Microsoft Access MVP
> "sandrao" <(E-Mail Removed)> wrote in message news:E26BA5CA-5237-4DD0-A4DE-(E-Mail Removed)...
> >I downloaded the utility from Albert Kallal and it works fine. Just one
> > other question, If I disable the shiftkey in a data base in my computer and
> > then zip it and pass it on to the individual who will be using it and it is
> > placed in his computer will the disable effect still work?
> >
> > "Joan Wild" wrote:
> >
> >> You can use Albert Kallal's utility (of course your users could also use it to re-enable the shiftkey, if they know about it).
> >>
> >> Look for 'By Pass Shift Key Code' at http://www.members.shaw.ca/AlbertKal.../msaccess.html
> >>
> >>
> >> --
> >> Joan Wild
> >> Microsoft Access MVP
> >> "sandrao" <(E-Mail Removed)> wrote in message news:0433E918-51D1-4089-ABC4-(E-Mail Removed)...
> >> > Is there a simple way to disable the use of the shift key so that individuals
> >> > cannot get access to tables and other fuctions in a database. I have my
> >> > database opening to a form but I don't want anyone to have access to the
> >> > information in the background. Also, I myself would still want to have acces
> >> > to these table, etc.
> >> >
> >> > any Ideas
> >>

>

 
Reply With Quote
 
Keith Wilby
Guest
Posts: n/a
 
      13th Nov 2007
"Joan Wild" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
The OP never mentioned whether the mdb was secured, so I assumed it wasn't -
it won't make a difference in an unsecured mdb.

Good point Joan. I made a false assumption.

Keith.

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      13th Nov 2007
"Keith Wilby" <(E-Mail Removed)> wrote in message news:4739570e$(E-Mail Removed)...
> "Joan Wild" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> The OP never mentioned whether the mdb was secured, so I assumed it wasn't -
> it won't make a difference in an unsecured mdb.
>
> Good point Joan. I made a false assumption.


Well I may have too, who knows. But Albert's utility covers a secure mdb as well.

--
Joan Wild
Microsoft Access MVP
 
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
Shift ByPass alex Microsoft Access 4 21st Jul 2009 01:15 PM
Bypass SHIFt bypass mrgrine@gmail.com Microsoft Access Form Coding 3 10th Mar 2008 08:25 PM
Shift Bypass box2003 Microsoft Access Security 3 8th Jul 2005 07:36 AM
Re: Shift ByPass Key Albert D. Kallal Microsoft Access Forms 0 21st Jul 2004 08:32 PM
Bypass shift key Harmannus Microsoft Access Form Coding 0 1st Jan 2004 12:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:43 PM.