Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Best XML library to validate XML from untrusted source

by Corion (Pope)
on Oct 19, 2014 at 15:35 UTC ( #1104311=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best XML library to validate XML from untrusted source
in thread Best XML library to validate XML from untrusted source

I think you're supposed to disable external requests using various constructor parameters (as in XML::LibXML::Parser.pod.

I presume that ext_ent_handler with your own callback to handle external entities would be enough, but I would still use or no_network to be on the safe(r) side.

Replies are listed 'Best First'.
Re^4: Best XML library to validate XML from untrusted source
by vsespb (Chaplain) on Oct 19, 2014 at 15:45 UTC
    Ok, this indeed works. And the POD page contains security related info. Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2019-11-18 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (91 votes). Check out past polls.

    Notices?