The most important safety measure against this became mandatory procedure after 9/11: locking the cockpit doors. If the terrorists can't control the plane, they can't use it as a projectile weapon. No amount of killing passengers will give them this kind of access.