legacy security