PHPIDS Component Implementation for CakePHP

<![CDATA[

I posted a CakePHP component implementation of PHPIDS today. It includes the latest PHPIDS version (0.6.4).

http://github.com/cldrn/cakephpids/tree/master/component/

What I like about the component implementation is that you set the actions you want to monitor when you import the component in the corresponding controllers or your main app_controller.php. Something like this:

var $components=array(‘Cakephpids’=>array( ‘protectedActions’=>array(‘login’,’add’,’register’,’display’)));

Putting this in your main app_controller will run the IDS only when the actions login,register and add are executed.

]]>

Leave a comment

cat /etc/about-me

@calderpwn spends peaceful days in Cozumel, a beautiful island in the Caribbean, working on remote projects, learning new technologies, developing new tools, or simply enjoying the beach.

Join the mailing list

Stay updated with the latest tips and other news of my developments by joining the newsletter. It is very low volume, I promise :)