@colinstu @lettosprey @arakin Depending on where you live, there are professional organisations you can join.
I have on occasion needed to hint to clients/employers that if they were really asking me to do [whatever it was] then sorry but I wouldn't be able to because it would breach the professional code of conduct I'd signed up to.
MBCS, CEng, Eur Ing