The anterior to midaxillary line between the 4th or 5th intercostal space (Buelau position) is safe for the use of thoracostomy tubes in preterm and term infants