It has good paint adhesion properties (due to being porous), so can be painted or coated in oil for better corrosion resistance. Black phosphate is sometimes left as the only coating in cases of low cost parts ( bolts), which provides better corrosion resistance than exposed steel, but nothing close to the other methods of corrosion prevention.