efm at tummy.com
Wed Sep 5 15:44:21 MDT 2001
look at the restricted execution environment.
On Wed, Sep 05, 2001 at 03:42:32PM -0600, Theodore A. Roth wrote:
> I've searched high low, but it doesn't look to me like python supplies the
> chroot() function ala 'man 2 chroot'. Is this true?
> I'm trying to use python, via cgi, as a photo album generator. I want to
> let the user supply the directory to list the contents of, but I would
> like to protect against the user doing something like
> '../../../../../some/dir// to list files outside of where the pictures are
> kept. Thus, chroot()ing into my base photo directory after loading all the
> modules I need would be a handy thing to do.
> Any one have a better idea?
> Ted Roth
> This message sent by the FRPythoneers mailing list.
> Unsubscribe: echo unsubscribe | FRPythoneers-request at lists.community.tummy.com
> URL: http://lists.community.tummy.com/mailman/listinfo/frpythoneers
More information about the FRPythoneers