When they are installed correctly, glass deck railings are extremely safe. The glass is typically 1/4-inch tempered safety glass, so it isn't your typical window glass material. It is specially constructed for strength and durability, and it will not shatter into sharp pieces if for some reason it does break. Of course, check your local safety codes before installing.