From owner-freebsd-hackers Tue Nov 16 14:45:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id D4CA9151CA for ; Tue, 16 Nov 1999 14:45:44 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id RAA90423; Tue, 16 Nov 1999 17:45:41 -0500 (EST) Date: Tue, 16 Nov 1999 17:45:41 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Leif Neland Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: making users modem dial from webpage In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 probably could install Back Orifice, and send commands to that :-) > > Leif > 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. But that doesn't rule java out (if you are a java fan). Basically, you just need some custom application running on each salesperson's workstation which listens to a given TCP port. You can write that application in C, or Java, or god forbid, visual basic. Oh, and make sure you traffic on this port from outside your firewall. :) Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Director of Technical Services, ALC Communications http://www.alcnet.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message