Considerations on using mod_python in a secure manner can be found in the mod_python wiki at CategorySecurity.