Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2015 21:52:59 -0800
From:      Aleksandr Miroslav <>
Subject:   Re: best practice for locking down private jail?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Dec 2, 2015 at 9:44 PM, Aleksandr Miroslav
<> wrote:
> - from the machine, outside the jail, i setup httpd to
> serve files only from
> /usr/jails/privatejail/usr/home/joeblow/audiofiles
> can I tell Apache to only serve up mp3 files of name
> lecture-num.mp3 or something like that?

Thinking about this some more. I think instead of having apache point
to the jail directly, I setup a cron job on the host that calls a
script that runs every 5 minutes or so, and copies only mp3 files of
some pattern-matched name to the host system, and then only that is
served up by apache. That would work better I think. It would have to
be a cron job on the host, I don't think I can have a script from
inside the private jail call something directly on the host.

Want to link to this message? Use this URL: <>