two kinds of security measures ​