Web Hosting Talk







View Full Version : cause client-side to hangup


Abu Mami
08-26-2002, 09:13 AM
Hi,

Is it somehow possible for a web page/site to cause the client-side machine to disconnect from the Internet? That is, to hang up a dial-up connection. I can imagine that this might be possible with a Java applet or activex control. The user would of course have to confirm.

Any ideas?

anantatman
08-27-2002, 05:37 AM
regular java wont be able to do it unless the user places an entry in their java policy file. (too much hassle)


the new webstart technology mightoffer you options, but not a lot of people have it installed.

activeX can do it, but would require installation, so the user would confirm at the beginning.

once you have your control installed on their computer, and given the rights (some sort of digitally signed certificate looks good) you can use the WMI to do just about anything within windows.

look up on MSDN on how to access the WMI using vb, or any other windows programming language.

Abu Mami
08-28-2002, 02:17 AM
Originally posted by anantatman
activeX can do it, but would require installation, so the user would confirm at the beginning. Thanks. I also arrived at ActiveX as being the best solution, but was looking to see if there was another way to do this.

Actually, the whole thing sounds like too much of a pain to deal with.

Thanks again for your suggestions and comments.