Let \(\mathcal {K}\) be one of the Green relations \(\mathcal {R}\) , \(\mathcal {L}\) , \(\mathcal {D}\) , \(\mathcal {J}\) or \(\mathcal {H}\) . A \(\mathcal {K}\) -class is regular if all its elements are regular. The \(\mathcal {K}\) -classes of a semigroup are ruled by its regular ones if the triviality of all regular \(\mathcal {K}\) -classes implies the triviality of all these classes. This property is satisfied by finite semigroups, but also by compact semigroups and group-bound semigroups. The goal of this article is to provide a unified presentation of these last two results. To this end, we introduce a new class of semigroups, called safe semigroups, containing both compact semigroups and group-bound semigroups, for which \(\mathcal {D}= \mathcal {J}\) and \(\mathcal {R}\) -classes, \(\mathcal {L}\) -classes and \(\mathcal {J}\) -classes are ruled by regular ones. The slightly more restricted class of secure semigroups makes it possible to also cover the case of \(\mathcal {H}\) -classes.