Visitors are warned not to bring sharp objects, and their identity card numbers are checked against a database by state security agents in civilian clothes.