Security doesn't exist in isolation. AKA. there's always a way.
If you're talking about making a browser secure against internet-based attacks, there is not always a way. This type of security is merely extremely, overwhelmingly difficult.