Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 10:43:47 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        ann kok <annkok2001@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: cgi-bin
Message-ID:  <3C14D833.2030407@potentialtech.com>
References:  <20011210152401.45175.qmail@web20107.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I think you may be on the wrong list for this question but ...

ann kok wrote:
> Hi all
> 
> Is there any danger to put the *.exe in the cgi-bin
> directory?

Yes, there's plenty of danger.  If you put an executable or
binary in a cgi-bin directory so that it's executed when
a visiter tries to call it up as a web page, then any errors,
exploits, etc will be available to anyone surfing to your
web site.
The level of possible danger is based entirely on what program
you put in that directory.  People do it all the time, but with
a properly written program and proper system permissions, it's
not a problem.
Probably, if you have to ask such a question, then you're not
in a position to evaluate the possible dangers.

However ... if what you're saying is that you're putting a
Windows executable in the cgi-bin directory of a FreeBSD server,
then there really isn't any danger to the FreeBSD server, since
it can't execute Windows executables.

-- 
Bill Moran
Potential Technology
http://www.potentialtech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C14D833.2030407>