Appinventiv interview question

How to secure your PHP application?