Appinventiv Interview Question

How to secure your PHP application?