Well, when specified for it. The salt air off the Sound corrodes ordinary hardware, so near the water we use 316-grade stainless for cable and glass, finished steel or aluminum elsewhere, and seal every connection. On a historic porch we also check the structural backing so the railing anchors properly. Built this way, a railing handles years of coastal exposure without corroding.