cvs: presentations / sapi-input-adam-2005.xml /slides/encryption cbg.png /slides/input-filter bastions.xml bastions1.png bastions2.png bastions2.xml
casting.xml filter-accessor.png filter-accessor.xml filter-none.png filter-none.xml filter-sqlite.png filter-sqlite.xml filter-strip-all.png
filter-strip-all.xml filtering.xml mod_security.xml resources.xml sapi-input-filter.xml sif-db-schema.png sif-db-schema.xml title.xml wall.gif
what-is-wrong1.xml what-is-wrong2.xml xss.png

From: Date: Fri, 29 Apr 2005 20:53:33 +0000
Subject: cvs: presentations / sapi-input-adam-2005.xml /slides/encryption cbg.png /slides/input-filter bastions.xml bastions1.png bastions2.png bastions2.xml
casting.xml filter-accessor.png filter-accessor.xml filter-none.png filter-none.xml filter-sqlite.png filter-sqlite.xml filter-strip-all.png
filter-strip-all.xml filtering.xml mod_security.xml resources.xml sapi-input-filter.xml sif-db-schema.png sif-db-schema.xml title.xml wall.gif
what-is-wrong1.xml what-is-wrong2.xml xss.png
Groups: php.pres 
Request: Send a blank email to pres+get-1124@lists.php.net to get a copy of this message
derick Fri Apr 29 16:53:33 2005 EDT Added files: /presentations sapi-input-adam-2005.xml /presentations/slides/encryption cbg.png /presentations/slides/input-filter bastions.xml bastions1.png bastions2.png bastions2.xml casting.xml filter-accessor.png filter-accessor.xml filter-none.png filter-none.xml filter-sqlite.png filter-sqlite.xml filter-strip-all.png filter-strip-all.xml filtering.xml mod_security.xml resources.xml sapi-input-filter.xml sif-db-schema.png sif-db-schema.xml title.xml wall.gif what-is-wrong1.xml what-is-wrong2.xml xss.png Log: - First part of SAPI input-filter talk.

http://cvs.php.net/co.php/presentations/sapi-input-adam-2005.xml?r=1.1&p=1 Index: presentations/sapi-input-adam-2005.xml +++ presentations/sapi-input-adam-2005.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/perf/ezp.css" backgroundfixed="1" > <topic>Security</topic> <title>Defending against Users</title> <event>International PHP Conference</event> <location>Amsterdam, the Netherlands</location> <date>May 3rd, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/input-filter/title.xml</slide> <!-- SQL Injection / XSS Intro --> <slide>slides/input-filter/what-is-wrong1.xml</slide> <slide>slides/input-filter/what-is-wrong2.xml</slide> <!-- Solutions --> <slide>slides/input-filter/casting.xml</slide> <slide>slides/input-filter/filtering.xml</slide> <!-- Server solution --> <slide>slides/input-filter/bastions.xml</slide> <slide>slides/input-filter/mod_security.xml</slide> <!-- mod_security --> <slide>slides/input-filter/bastions2.xml</slide> <slide>slides/input-filter/sapi-input-filter.xml</slide> <!-- sapi input filter --> <slide>slides/input-filter/filter-none.xml</slide> <!-- current status --> <slide>slides/input-filter/filter-strip-all.xml</slide> <!-- rasmus 1st filter suggestion (strip all, raw accessor) --> <slide>slides/input-filter/filter-accessor.xml</slide> <!-- rasmus 2st filter suggestion (accessor only) --> <slide>slides/input-filter/filter-sqlite.xml</slide> <!-- sqlite_filter --> <!-- SQLite Input Filter --> <slide>slides/input-filter/sif-db-schema.xml</slide> <!-- table diagram --> <slide>slides/input-filter/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/input-filter/bastions.xml?r=1.1&p=1 Index: presentations/slides/input-filter/bastions.xml +++ presentations/slides/input-filter/bastions.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Multiple Levels of Defense</title> <image align="center" filename="bastions1.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/bastions2.xml?r=1.1&p=1 Index: presentations/slides/input-filter/bastions2.xml +++ presentations/slides/input-filter/bastions2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Multiple Levels of Defense++</title> <image align="center" filename="bastions2.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/casting.xml?r=1.1&p=1 Index: presentations/slides/input-filter/casting.xml +++ presentations/slides/input-filter/casting.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Casting</title> <example>&lt;?php $uid = (int) $_GET['uid']; $sql = " SELECT card_num, card_name, card_expiry FROM credit_cards WHERE uid = '{$uid}' "; ?></example> <break/> <example>http://example.com/script.php?uid=42</example> <break/> <example>SELECT card_num, card_name, card_expiry FROM credit_cards WHERE uid = '42'</example> <div effect="hide"> <break lines="4"/> <blurb>!</blurb> <break/> <example>http://example.com/script.php?uid=42'%20or%20''='</example> <break/> <example>SELECT card_num, card_name, card_expiry FROM credit_cards WHERE uid = '42' or ''=''</example> </div> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/filter-accessor.xml?r=1.1&p=1 Index: presentations/slides/input-filter/filter-accessor.xml +++ presentations/slides/input-filter/filter-accessor.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Second Idea of an Input Filter</title> <image align="center" filename="filter-accessor.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/filter-none.xml?r=1.1&p=1 Index: presentations/slides/input-filter/filter-none.xml +++ presentations/slides/input-filter/filter-none.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Current Situation</title> <image align="center" filename="filter-none.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/filter-sqlite.xml?r=1.1&p=1 Index: presentations/slides/input-filter/filter-sqlite.xml +++ presentations/slides/input-filter/filter-sqlite.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>SQLite Input Filter</title> <image align="center" filename="filter-sqlite.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/filter-strip-all.xml?r=1.1&p=1 Index: presentations/slides/input-filter/filter-strip-all.xml +++ presentations/slides/input-filter/filter-strip-all.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>First Idea of an Input Filter</title> <image align="center" filename="filter-strip-all.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/filtering.xml?r=1.1&p=1 Index: presentations/slides/input-filter/filtering.xml +++ presentations/slides/input-filter/filtering.xml http://cvs.php.net/co.php/presentations/slides/input-filter/mod_security.xml?r=1.1&p=1 Index: presentations/slides/input-filter/mod_security.xml +++ presentations/slides/input-filter/mod_security.xml http://cvs.php.net/co.php/presentations/slides/input-filter/resources.xml?r=1.1&p=1 Index: presentations/slides/input-filter/resources.xml +++ presentations/slides/input-filter/resources.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Resources</title> <break lines="1" /> <image align="center" filename="wall.gif" /> <break lines="2" /> <link fontsize="3em" marginleft="2em" leader="These Slides: " href="http://derickrethans.nl/talks.php" target="_new"/> <link fontsize="3em" marginleft="2em" leader="Input Filter: " href="http://derickrethans.nl/sqlite_filter.php" target="_new"/> <link fontsize="3em" marginleft="2em" leader="Questions?: " href="mailto:dr@ez.no" target="_new"/> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/sapi-input-filter.xml?r=1.1&p=1 Index: presentations/slides/input-filter/sapi-input-filter.xml +++ presentations/slides/input-filter/sapi-input-filter.xml http://cvs.php.net/co.php/presentations/slides/input-filter/sif-db-schema.xml?r=1.1&p=1 Index: presentations/slides/input-filter/sif-db-schema.xml +++ presentations/slides/input-filter/sif-db-schema.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Input Filter DB Schema</title> <image align="center" filename="sif-db-schema.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/title.xml?r=1.1&p=1 Index: presentations/slides/input-filter/title.xml +++ presentations/slides/input-filter/title.xml <slide template="titlepage" fontsize="3.5em"> <title>Welcome!</title> <image align="center" filename="wall.gif" /> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/what-is-wrong1.xml?r=1.1&p=1 Index: presentations/slides/input-filter/what-is-wrong1.xml +++ presentations/slides/input-filter/what-is-wrong1.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>What is Wrong Here?</title> <example>&lt;?php $sql = " SELECT card_num, card_name, card_expiry FROM credit_cards WHERE uid = '{$_GET['uid']}' "; ?></example> <break/> <example>http://example.com/script.php?uid=42</example> <break/> <example>SELECT card_num, card_name, card_expiry FROM credit_cards WHERE uid = '42'</example> <div effect="hide"> <break lines="4"/> <blurb>!</blurb> <break/> <example>http://example.com/script.php?uid=42'%20or%20''='</example> <break/> <example>SELECT card_num, card_name, card_expiry FROM credit_cards WHERE uid = '42' or ''=''</example> </div> </slide> http://cvs.php.net/co.php/presentations/slides/input-filter/what-is-wrong2.xml?r=1.1&p=1 Index: presentations/slides/input-filter/what-is-wrong2.xml +++ presentations/slides/input-filter/what-is-wrong2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>What is Wrong Here?</title> <example><![CDATA[<html> <head> <title>Example</title> </head> <body> Name: <?php echo $_GET['name']; ?> </body> </html>]]> </example> <break/> <example>http://example.com/script.php?name=derick</example> <break/> <blurb>Name: derick</blurb> <div effect="hide"> <break lines="4"/> <blurb>!</blurb> <break/> <example>http://example.com/script.php?name=&lt;script&gt;alert('!');&lt;/script&gt;</example> <break lines="3"/> <image filename="xss.png" align="center"/> </div> </slide>
« previous php.pres (#1124) next »