Tag security program design