From owner-freebsd-hackers Wed Nov 17 6:38:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 5078914A15 for ; Wed, 17 Nov 1999 06:38:42 -0800 (PST) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id RAA18760; Wed, 17 Nov 1999 17:40:11 +0300 (MSK) Message-Id: <199911171440.RAA18760@aaz.links.ru> Subject: Re: making users modem dial from webpage In-Reply-To: from "Kelly Yancey" at "Nov 16, 99 05:45:41 pm" To: kbyanc@posi.net (Kelly Yancey) Date: Wed, 17 Nov 1999 17:40:11 +0300 (MSK) Cc: leifn@neland.dk, freebsd-hackers@FreeBSD.ORG From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kelly Yancey writes: > On Tue, 16 Nov 1999, Leif Neland wrote: > > I've been asked if this is possible: > > > > Having a webserver running a database of some sort. > > User clicks a button on a form, a cgi-script runs, determines the ip of > > the user, and sends a command to "something" on the users pc, which then > > sends commands to a modem, making it dial a number. > > > > So our salespeople can dial directly from the database. > > > > This "something", could this be a java-applet, or should it be an > > active-x? Or something completely different? > > I think that the security settings in most browsers would prevent an > object embedded in a page (such as a java applet or activeX control) from > this amount of system access. Just think of the implications otherwise: > maliscious people could put applets/activeX controls on a web page which > racked up long distance charges to some eastern European country. It is very easy: create file on server side with content-type x-application/x-dialout for example and dial information in it. configure helpers to start program 'dialout' for type x-application/x-dialout and write script 'dialout' which use dialing information from x-application/x-dialout files. All names are examples and can be changed as you want. But be careful when choose name for content-type Sorry bad English. I can to detaile if need (I am using similar methods sometimes) -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message