I do everything that I can to prvent the temptation of cheating for the students. We typically do review sessions, have seating charts during the exam to create good space between each student. No materials other than their pen/pencil are allowed. Finally, I NEVER allow them to use their computers to write an essay exam, etc.