In a trading site. It's safe because they have anothwr layer of security which are more likely 2fa authenticator or sms message which is impossible to break if you're very careful with your actions.
But if trading sites are hacked, you lose access to your funds. Because you still don't own the private keys.