HTML::StripScripts 1.00
Sponsored Links
HTML::StripScripts 1.00 Ranking & Summary
File size:
0.040 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
841
Date added:
2007-07-13
Publisher:
Clinton Gormley
HTML::StripScripts 1.00 description
HTML::StripScripts can strip scripting constructs out of HTML.
SYNOPSISM
use HTML::StripScripts;
my $hss = HTML::StripScripts->new({ Context => Inline });
$hss->input_start_document;
$hss->input_start(< i >);
$hss->input_text(hello, world!);
$hss->input_end(< /i >);
$hss->input_end_document;
print $hss->filtered_document;
This module strips scripting constructs out of HTML, leaving as much non-scripting markup in place as possible. This allows web applications to display HTML originating from an untrusted source without introducing XSS (cross site scripting) vulnerabilities.
You will probably use HTML::StripScripts::Parser rather than using this module directly.
The process is based on whitelists of tags, attributes and attribute values. This approach is the most secure against disguised scripting constructs hidden in malicious HTML documents.
As well as removing scripting constructs, this module ensures that there is a matching end for each start tag, and that the tags are properly nested.
Previously, in order to customise the output, you needed to subclass HTML::StripScripts and override methods. Now, most customisation can be done through the Rules option provided to new().
The HTML document must be parsed into start tags, end tags and text before it can be filtered by this module. Use either HTML::StripScripts::Parser or HTML::StripScripts::Regex instead if you want to input an unparsed HTML document.
SYNOPSISM
use HTML::StripScripts;
my $hss = HTML::StripScripts->new({ Context => Inline });
$hss->input_start_document;
$hss->input_start(< i >);
$hss->input_text(hello, world!);
$hss->input_end(< /i >);
$hss->input_end_document;
print $hss->filtered_document;
This module strips scripting constructs out of HTML, leaving as much non-scripting markup in place as possible. This allows web applications to display HTML originating from an untrusted source without introducing XSS (cross site scripting) vulnerabilities.
You will probably use HTML::StripScripts::Parser rather than using this module directly.
The process is based on whitelists of tags, attributes and attribute values. This approach is the most secure against disguised scripting constructs hidden in malicious HTML documents.
As well as removing scripting constructs, this module ensures that there is a matching end for each start tag, and that the tags are properly nested.
Previously, in order to customise the output, you needed to subclass HTML::StripScripts and override methods. Now, most customisation can be done through the Rules option provided to new().
The HTML document must be parsed into start tags, end tags and text before it can be filtered by this module. Use either HTML::StripScripts::Parser or HTML::StripScripts::Regex instead if you want to input an unparsed HTML document.
HTML::StripScripts 1.00 Screenshot
HTML::StripScripts 1.00 Keywords
HTML
StripScripts
StripScripts 1.00
scripting
constructs
input
document
strip
tags
HTML::StripScripts
HTMLStripScripts
HTML::StripScripts 1.00
Libraries
Programming
Bookmark HTML::StripScripts 1.00
HTML::StripScripts 1.00 Copyright
WareSeeker periodically updates pricing and software information of HTML::StripScripts 1.00 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML::StripScripts 1.00 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
html tags
scripting guys
shell scripting
scripting languages
scripting.filesystemobject
html code
scripting center
windows scripting
html body html
scripting in second life
scriptingmetatagsftp
scripting software
java scripting
new constructs
scripting guy
scripting errors
html codes
cross site scripting
Related Software
HTML-Strip-Whitespace is a Perl module to strip whitespace out of HTML pages. Free Download
HTML Parser is a Java library used to parse HTML in either a linear or nested fashion. Free Download
HTML Objects is a Perl module library for turning HTML tags into Perl objects. Free Download
HTML Purifier is the premiere PHP solution for all your HTML filtering needs. Free Download
HTML Include solves the problem that the Hypertext Markup Language doesnt know a command. Free Download
HTML::Seamstress is a HTML::Tree subclass for HTML templating via tree rewriting. Free Download
HTML Sucks Completely is a developer tool for HTML projects. Free Download
HTML2Any is the software to convert html/text data to html/javascript/text data with charset encoding conversion or without. Open file, set source charset encoding and reopen source document, convert Free Download
Latest Software
Popular Software
Favourite Software