Re: Flask app with chrooted httpd

2018-02-13 Thread Stuart Henderson
On 2018-02-12, Kevin Chadwick wrote: > On Mon, 12 Feb 2018 14:42:53 +0100 > > >> Did anyone use httpd to serve a flask app (python)? >> I found this [1], but its a little outdated (python < 3) and makes me >> wonder about safety, because of all those dependencies copied in >>

Re: Flask app with chrooted httpd

2018-02-12 Thread Kevin Chadwick
On Mon, 12 Feb 2018 14:42:53 +0100 > Did anyone use httpd to serve a flask app (python)? > I found this [1], but its a little outdated (python < 3) and makes me > wonder about safety, because of all those dependencies copied in > chroot. > > Any advice ? It seems python requires RWX mem by

Re: Flask app with chrooted httpd

2018-02-12 Thread Pedro Tender
Why not a virtualenv? Just don’t use system python that need packages on applications anywhere on anything. On Mon, 12 Feb 2018 at 20:56, Thuban wrote: > I forgot the link, my bad: > > [1] : http://www.hydrus.org.uk/journal/openbsd-httpd.html >

Re: Flask app with chrooted httpd

2018-02-12 Thread Thuban
I forgot the link, my bad: [1] : http://www.hydrus.org.uk/journal/openbsd-httpd.html signature.asc Description: PGP signature

Flask app with chrooted httpd

2018-02-12 Thread Thuban
Hi, Did anyone use httpd to serve a flask app (python)? I found this [1], but its a little outdated (python < 3) and makes me wonder about safety, because of all those dependencies copied in chroot. Any advice ? Regards -- thuban