Best Practices to Build Secure Applications