Answer: Constitutional, with security being considered.
Step-by-step explanation:
Prisoners are limited on information and properties at their time in prison's. When visited they must be searched to ensure they don't carry materials back to their prison room. This is done to protect against insecurities as harmful materials or information can be smuggled in which could cause a threat to them and every other person in the prison. The search is constitutional to protect against this.