working security with properties