There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
blue screen blue screen of death boot computer connection crash css dell display driver drivers email error ethernet excel firefox firefox 3 hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking nvidia outlook outlook 2003 outlook express partition password printer problem problems router security slow software sound trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Disabling the keyboard from a webpage.


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Whitestar's Avatar
Computer Specs
Senior Member with 511 posts.
 
Join Date: Mar 2003
Location: UK
Experience: Advanced
11-Oct-2006, 06:15 PM #1
Disabling the keyboard from a webpage.
Hi

At work we have an acceptable use policy that the kids have to agree to to use the computer. At the moment its a very badly written program that pops up as the kids log in to their user accounts, trouble is it really slows the machine down even after the student had agreed. Also at the moment they can just press alt f4 to close the program window.

My solution to this is to have a webpage with the AUP and two buttons, but I want the page to disable the keyboard, so that the kids can't alt f4 out of the window.

I know this sounds stupid and theres no difference between them pressing the agree button and pressing alt f4, but if they do do something and we say 'but you agreed to the AUP' the can say 'no i didnt' and they would be right because technically they didnt.

So.

Is there any way for a web page to disable the keyboard while it is active?

Mark
dquigley's Avatar
Computer Specs
Senior Member with 112 posts.
 
Join Date: Apr 2006
Location: Woodinville, WA
Experience: Advanced
12-Oct-2006, 12:34 AM #2
I'm not a web coder, but I'll take a crack at starting you in a direction. The IEAK (Internet Explorer Administration Kit) offers some help with security. I know that IE has a kiosk mode (command line parameter -k) that gets you part way there. Alt-F4 is pretty universal (I have my doubts that you can trap that in a web page) - if that were true then the folks responsible for popups, would have a good use for that.

Here is the IEAK URL:

IEAK
Bandit85's Avatar
Computer Specs
Junior Member with 14 posts.
 
Join Date: Oct 2006
Location: Pocatello, Idaho
Experience: Advanced
12-Oct-2006, 12:16 PM #3
Hi,

I know that Visual Basic has a function in it that will allow it to disable the windows Hot-keys. Have you considered having your computers run a visual basic application at startup that will require their consent or maybe even a visual basic app on your home page that will prevent surfing until they agree? Neither option should slow your machines after being run and it should not be too hard to program.
Squashman's Avatar
Distinguished Member with 12,700 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
12-Oct-2006, 08:43 PM #4
When I worked for the school district we made the students read and sign an acceptable use policy. They had no way around it after that. There Internet Access was not granted until they had signed the policy.
Whitestar's Avatar
Computer Specs
Senior Member with 511 posts.
 
Join Date: Mar 2003
Location: UK
Experience: Advanced
14-Oct-2006, 12:20 PM #5
Bandit - I had hoped to avoid using VB, but it looks like i'm going to have to. Like I said in my OP, there is already a program that pops up when the kids log on. I don't know what this was written in tho.

Squahman - I had thought about that, but I have enough trouble as it is with being informed about kids starting. I only find out when they come to see me to get a user account.

Thnks for the suggestions guys.
Bandit85's Avatar
Computer Specs
Junior Member with 14 posts.
 
Join Date: Oct 2006
Location: Pocatello, Idaho
Experience: Advanced
16-Oct-2006, 11:41 AM #6
Post Re: VB
If you have the app close after they agree then it should not cause the machine to slow down at all. After all once they have clicked then you no longer need the app.
Squashman's Avatar
Distinguished Member with 12,700 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
20-Oct-2006, 07:06 PM #7
Quote:
Originally Posted by Whitestar
Squahman - I had thought about that, but I have enough trouble as it is with being informed about kids starting. I only find out when they come to see me to get a user account.

Thnks for the suggestions guys.
I guess things were a little bit easier for us on the Netware network we had setup. When we create a user, they are not automatically put into the InternetUsers group. They are by default put into a NoInternet Users group. If they are not apart of the InternetUsers group, our Proxy Server BorderManager would stop them from accessing the Internet. Easy as pie if you have a Proxy server. If you don't then you are kind of screwed.
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - Windows Shell/User
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 02:45 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.