Actual X ray is harmful if you do it frequently.
Airport security has never used X ray as the machine that people pass through. Those are metal detectors, or other more advanced (usually controversial) technology.
X ray at airports is used for the baggage. (Originally just carry-on but after 9/11 they started inspecting checked baggage also.)
Latest Answers