wp-security-functions
Wordpress security functions for paranoid folks. (themes functions.php and .htaccess) Take what you want leave what you think should be.
theme_functions : folder filled with code snippets to be used in functions.php of your theme
htaccess : code snippets to be used either independently or in cunjunction with others for specific protections.
nginx : Nginx configuration, currently used in production so tested upto some extent.