It is the intent and purpose of Section 3235 to limit the owner`s liability, in all cases, to the measure of the contract price where he shall have filed or caused to be filed in good faith his original contract and recorded a payment bond as therein provided. It shall be lawful for the owner to protect himself against any failure of the original contractor to perform his contract and make full payment for all work done and materials furnished thereunder by exacting such bond or other security as he may deem necessary.