Professionally manufactured and certified fabric, retractable style baby gates are safe. Homemade ones are likely not or won’t give you the same peace of mind — they haven’t passed the same rigorous standards testing as the professionally made ones have.