We show a characterization of affine Steiner triple systems and Hall triple systems in terms of forbidden substructeres.