Corrections Act 2004, s 97
The prison officers must take reasonable steps to prevent the dog from touching you and that the search is carried out with decency and sensitivity.