Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Loading a Local File

by Corion (Patriarch)
on Jan 04, 2018 at 12:07 UTC ( [id://1206681]=note: print w/replies, xml ) Need Help??


in reply to Re: Loading a Local File
in thread XML::Parser Tutorial

What you call "xml bomb" is most likely the XML Entity Expansion attack.

This is most easily prevented by not expanding entities, or not expanding them recursively.

To enable that, see the XML::Parser documentation, especially the NoExpand flag and the handlers for external and other entities.

In those, you get to decide whether to fetch them and whether to expand them. If an entity expands to more entities, consider whether to expand them or not.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found