Anonymous interview question

How to mitigate ssrf ?