added check if server is protected