Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 10th, 2006, 05:25 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

can you post your code up if possible

www.crmpicco.co.uk
 
Old February 15th, 2006, 04:19 AM
Authorized User
 
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to harsh_hot
Default

var wshell=WshShell.CreateObject("WshShell");
wshell.RegEdit("HKCU\Software\Microsoft\Policies\C urrentVersion\System\DisableTaskMgr",1,"REG_DWORD" );

run this in command prompt after saving d file with .js extension

 
Old February 15th, 2006, 04:29 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Have you tried this?

Firstly it appears only to work for Windows 9x, not NT.

Secondly to run this in a web page would require the user to have manically low security settings.

--

Joe (Microsoft MVP - XML)
 
Old February 15th, 2006, 05:01 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

SpyBot TeaTimer would catch that immeadiately!

www.crmpicco.co.uk
 
Old February 17th, 2006, 06:54 AM
Authorized User
 
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to harsh_hot
Default

what do u think that i am just kidding here in this community by posting unnecessary msgs??

if u have doubts why don't u do it yourself?

i have done this in WIndowsXP..d path in d registry i am not sure is correct..i will post d correct path soon if it is not..

 
Old March 2nd, 2006, 10:18 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

yeah, sure, it may work on your localhost, but no over the WWW

www.crmpicco.co.uk
 
Old March 7th, 2006, 01:32 AM
Authorized User
 
Join Date: Feb 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dimo414 Send a message via Yahoo to dimo414
Default

Beyond the fact that a user would need just about zero security in order to disable ctrl alt delete, if it were to happen, it's highly abusive of a webmaster to do something like that. Ctrl-Alt-Del is a very important set of keys for computer users. Many computers, mine included, require you to press those keys before entering a password. You also need it to access the task manager. Removing user's ability to press these keys is highly innapropriate. Especialy on a registry level, where it would apply to the entire computer, and would (presumably) not fix itself upon navagating away from the page.

Finaly, the fix you provide, harsh_hot, does not in fact disable Ctrl-Alt-Del. It simply disables the taskmanager, which is only one portion of the keysets abilities.

 
Old March 21st, 2006, 05:38 AM
Authorized User
 
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to harsh_hot
Default

seems u r highly amaged by this trick to diable task manager...
see....the point is not of ethics here..whether doing this is wrong or right..the point is the challenge u get to solve this trick...

u r pretty right that this will work only with disabling task manager..it was d main objective 4 me.....i used this trick to make a virus which forces user to shutdown d PC bfore saving anything!!!

n one more thing..this was designed to work with local systems only...

 
Old March 21st, 2006, 08:43 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

mate, you should have a think!

writing viruses is not clever, but pathetic, irresponsible and geeky!

people appreciate people who can code, for benefit, not to screw a PC/Mac/Linux user over like making them shut a pc down without saving!!!!

personally, i hope you are investigated for this admission!

have a look at yourself.

Picco

www.crmpicco.co.uk
 
Old March 23rd, 2006, 06:41 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

======== ATTENTION =============
is there a way i can report this post
======== ATTENTION =============

www.crmpicco.co.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling Alt+Ctrl+Del Keys through Asp.Net 2005 p330418 ASP.NET 2.0 Basics 5 February 13th, 2008 01:18 PM
Disabling the "delete message" acheo Excel VBA 1 October 19th, 2006 08:42 PM
DISABLING CTRL-ALT-DELETE harsh_hot Other Programming Languages 0 February 6th, 2006 06:42 AM
How to block Alt+Ctrl+Del sagarkoirala VB How-To 0 August 8th, 2003 12:00 PM
API to disable CTRL ALT DELETE key stroke Dhodie Pro VB 6 2 July 9th, 2003 04:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.