Safe Shower Sex

Is there a way to have safe protected shower sex with a condom? will the water and everything affect the protection in any way?