Nonsense. If places had these systems in place, they wouldn't be targeted in the first place since they would know they wouldn't be able to get inside.
Nothing stops them trying outside, but the damage they would do would be smaller compared to inside.
Think how many people would be waiting to get through such security it would just move the place of attack no?