Security framework example