Planter boxes definitely need something to hold them to railings! Mine are wood, and I put L-shaped "hooks" (the kind that screw in) on the bottom... I can turn them inward to anchor the planter to the railing or outward to remove the planter for the winter.
LariAnn, I appreciate the tip re. "perfect bungees" -- thanks!