Well, yeah, all of that presents a privacy problem. Automation is taking it a step further, but if I had my way boarding a plane would be like boarding a train or bus. I could concede a fast-moving checkpoint that does some best-effort scanning for firearms and blades or whatever as people walk through a gate, provided the data is verifiably shredded as soon as scanning is complete. This safety paranoia is not borne of genuine danger. People walk into more crowded and critical areas than planes with firearms all the time in the US. The only thing stopping frequent mass-casualty deaths is that most people don't want to kill a ton of other people indiscriminately, not the TSA.
Securing the cockpit doors on planes is a good idea though.