working security prototype