Disable Keys in IE6 - Urgent

  • Thread starter Thread starter George
  • Start date Start date
G

George

Hi all,
We are using a custom application in IE6.

We have found a large security hole in the application.

A user can use the keyboard short cuts in IE to navigate back to pages
after a customer has ended a transition and modify the transition
details. We are currently in the process of coding the application to
change this but the fix will take some time.

I need to disable the Alt + Left, backspace and shift + scroll wheel
shortcuts in IE, to prevent the users messing with transactions and
potentially defrauding the company.

From what I have read this is pretty difficult to do.

Does anyone know of any applications that can do this?
Can anyone from Microsoft help with some sort of workaround?

Appreciate any help you can give

Thanks
George
 
Hi George,

Try this:
Write a vbscript like that I wrote below and added to all
of your pages that you want to disable backspace. I just
write for the backspace key. if you need to find out any
other key code value just take out the comment out for
the first line and run the script internet explorer shows
you what is the key code

Write this script:

set document.onkeydown()= GetRef("HandleKeyPress")
set document.onkeypress()= GetRef("HandleKeyPress")

Sub HandleKeyPress()

'msgbox(window.event.keycode)

if window.event.keycode=8 then
window.event.keycode=8
end if

end sub

I hope it helps

Regards,

SED
 
Back
Top