[plt-scheme] anyone written a web-server app that drops privileges on Unix?
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) -
http://www.groovygrails.de/blog/groovygrails/entry/non_root_tomcat_on_port
HTH. Cheers,
yc
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>