Thales Interview Question

How to solve the security and performance issue?