Disable Keys
- Started
- Last post
- 5 Responses
- thizzbobby
Working on a piece of software for a website, and the client wants the Ctrl and Alt keys to be disable within the browser (it's testing/tutoring software, if you must know why they want it this way).
I can't find anything on how to do this within their PHP/HTML framework.
Thoughts?
- thizzbobby0
someone knows!
- stewdio0
Why is this necessary? I'm not trying to be facetious, I just think it may not be worth the effort to enforce a "security" measure like this across multiple platforms and browsers. Perhaps there is a different way to solve the underlying problem?
- 7point340
javascript can disable stuff... have you looked at that?
- thizzbobby0
As far as why (@stewdio), this is proprietary software used in an educational/school settings. K-12 students will use this site within their schools as a math/language tutoring application. They will only be able to access this page, and the system components (C: drive, et al) on the computer they're using, when the tutoring tests are being administered. That said, people have a tendency to cheat at all ages. So we don't want people bringing in CD's or floppy's with answers on them, and students being able to copy and paste info from those peripherals into their answer boxes. Once the application/website has been launched, the system is in lockdown mode, and is only able to access the IE window for the program.
Back to the issue....
I've researched some jQuery/js libs already, and this is the closest I've found yet to what exactly I'm looking for, but that isn't exactly it.
http://code.google.com/p/js-hotk…
http://jshotkeys.googlepages.com…
- rounce0
Registry hacks abound!