Managing hospital visitors

How did you all manage your visitors after having your baby? Obviously we would only ask the people who are very close to us AND if we felt up to seeing them. But I’m worried others will hear and show up!