guardrail
A strong barrier that keeps people or cars from falling.
A guardrail is a strong barrier built along the edge of a road, bridge, or high place to prevent vehicles or people from accidentally going over the side. You've probably seen metal guardrails along highways, especially on mountain roads or near steep drops. They're designed to redirect a car that drifts off course, keeping it from tumbling down a cliff or into a ravine.
Guardrails work by absorbing some of the impact and guiding the vehicle back toward safety. They're not meant to stop a car completely, just to keep it from going somewhere far more dangerous. The same principle applies to guardrails on balconies, stairs, or overlooks, which keep people from falling.
The word also gets used metaphorically to describe rules or systems that protect people from serious mistakes. A teacher might set guardrails for a big project by requiring students to submit an outline first, preventing them from heading in completely the wrong direction. Parents set guardrails through rules that keep kids safe while still giving them freedom to explore and learn. In business, companies use financial guardrails to prevent overspending. These protective boundaries don't eliminate all risk or remove all freedom, but they help keep you from veering into real danger.