Installing a window A/C unit is not difficult but must be done right so as not to fall.
Most units come with a bracket to hold a unit in place but there are many different sized windows and walls that brackets attach to.
The most common method is to use the window as support and along with a bar on the top hold it in place.
With this method the window itself holds it in place and from falling out.
Small holders with screws than hold the window in place and from opening.
Another method is to use a bracket that the unit sits on.
The brackets come in all shapes and sizes to fit the window and the unit.
Example Window A/C Unit Bracket on Amazon
TopShelf A/C Bracket TSB-2438 Window AC Mounting Bracket (No Drilling Needed)
Brackets give good support to a window air conditioner since they are built specifically for that propose.
They work much like a table and a unit will be fully supported from falling.
If a bracket is bought be sure it matches your window style and A.C unit size.
Building your own supports can also be done.
Angle bars with the pre-drilled holes are often used since they can be cut at the right length and screwed into place.
A combination of a bracket and window bar is what gives the most safety.
Since there are many styles of windows there is no one size fits all.
If in doubt simple be sure to have a good bracket that the unit can sit on.
Be sure the bracket is installed right with good length screws and following the install instructions that come with it.
Always side with cation when installing a unit especially if it is located in a walk way that someone might go under.