Any person who has not authorized the improvement may protect his interests from such liens by serving upon the persons doing the work or otherwise contributing to such improvement, within five days after knowledge thereof, written notice that the improvement is not being made at his instance, or by posting like notice, and keeping the same posted, in a conspicuous place on the premises.
SDCL 44-9-4