Securing a client