Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl sandbox

by cLive ;-) (Prior)
on Nov 06, 2001 at 22:22 UTC ( [id://123650]=note: print w/replies, xml ) Need Help??


in reply to Perl sandbox

Is it possible to roll your own "safeopen" function? I'm not sure, but wouldn't an OO module incorporating the FileHandle module do the trick? s/earch/and replace/ all filehandle statements to point to the OO code instead.

Then you can parse all paths/files and maybe stat them to find out who owns them before allowing/disallowing access.

.02

cLive ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://123650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-03-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found