Implements security check method globally