What is a legal based ethics code?

Some legal ethics codes focus on the behavior of important key officials in business and government. The primary goal of such codes is to guard against conflicts of interest and protect the integrity of related financial markets.