Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 3:35:50 +1000
From:      Richard <guyuan@telpacific.com.au>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Limit PERL opening file in a directory.
Message-ID:  <200203181625.g2IGP9E01396@mail2.tpgi.com.au>

index | next in thread | raw e-mail

I have a few virtual sites in my server. There is a security risk
that these users are able to open files that are not in his/her
directory by using PERL scripts because most of the system files
are set as everyone read.

Now, I just made it work that the user can not open a file out
of his/her directory with PHP by adding php_admin_value open_basedir 'directory'
into apache configuration file.

I want to implement the same limitation with PERL.
Also, I want to block some functions in PERL, such as system().

Is there any suggestion? Thank you.
N'rzǧvf&j:+v "ryy笶*')w*z
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203181625.g2IGP9E01396>