Secure First, Then Connect