There are sometimes problems for which there is no immediate solution, and there are sometimes problems for which there is no solution.
You have to have as many defences in place as you possibly can. But even then of course - and it's important to stress this - you cannot guarantee being able to prevent every attack or every kind of attack.

