How is sharing ftp and smtp creditials with third parties safe?

How is sharing ftp and smtp credentials with third parties safe?