Railing posts are typically set in concrete footings for exterior fence applications, welded to a base plate that is lag-bolted to the structure, or drilled and pinned to a concrete or masonry surface with epoxy anchors. For deck or stair applications, posts are usually through-bolted to the rim joist or stringer with a minimum of two half-inch bolts and washers, ensuring they can resist the lateral loads required by code.