Mphasis Interview Question

How to prevent attack