The rule was NOTHING electronic went in that wasn't accounted for, and NOTHING ever left. We sent people onsite with what were effectively disposable laptops that were single use items and never left the location.
Showing up at the gate with anything extra was said to be a very bad idea. It never happened so I don't know what would happen.
You drove to the site in a car with only what you needed in it. Your license, keys, the equipment you were scheduled to bring. Smartphones weren't ultra common yet, but were absolutely forbidden. The car itself was searched too even though it was in a parking lot far from anything sensitive. You were warned that anything suspicious would not be in the car when you came back (like the extra stuff rule I don't know of anyone that happened to as nobody was foolish enough to drive out with anything but a clean rental car).
I honestly think that is the only security that makes sense. That should be the status quo for some areas the White House too IMO. At least as far as meetings and etc.
Maybe one day we get physical switches that power off cameras and mics, but hard to trust anything until that day....maybe not then.