security snippet