Online transactions unsafe

Are credit card transactions on the Net safe? Egghead had their’s stolen.