Security against (something)

Something that keeps something safe, protection against something.

The money in the bank is my security against losing my job in the future.