[plt-scheme] anyone written a web-server app that drops privileges on Unix?

From: YC (yinso.chen at gmail.com)
Date: Tue Feb 16 17:36:09 EST 2010

A couple of possible ways that I know of -

   1. Use an apache mod_proxy as the frontend to web-server
   2. Use iptables to redirect port 80 to another port (say 8080) -

HTH.  Cheers,

On Tue, Feb 16, 2010 at 2:13 PM, Danny Yoo <dyoo at cs.wpi.edu> wrote:

> Hi everyone,
> I'm writing a small web servlet using the PLT Scheme web server
> libraries.  The servlet needs to run on port 80, but on Unix systems,
> I need to be root to bind to port 80.  I feel a little nervous when I
> have a long-running, network-accessible service, especially if it runs
> as the superuser.  Does anyone have any suggestions on how to drop
> privileges here?
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100216/e25580c2/attachment.html>

Posted on the users mailing list.