Add entity security