Actually, with CAT V capability, modern aircraft do not need a pilot ... They are able to taxi, T/O, land and taxi back to the terminal w/o any human interface.
There really is no reason to have a flight crew, other than to give passengers some illusion of safety and comfort ... Yeah, that worked out really well.
Solution: eliminate human factor. Make all civil airliners fully automated. That ends the terrorist threat completely.
Coould a computer land a plane with both engines out in the Hudson?