Preventers for "light weight work" can find the stanchion or the shroud a serviceable anchor point as excellently explained by
@sail sfbay.
Before I examined the amount of force that is associated with a strong wind backing a sail that is dipping the boom into wave top I was happy to attach my preventer to a ubolt in the deck mid beam near the shroud. The sudden forces experienced by a preventer in a strong breeze gybe can break a boom, break a stanchion loose or destroy a preventer while the boom swings wildly across the deck.
Sailing in big water with tacks that run for hours on a cruise, I now attach the preventer to the end of the boom with a strong Soft shackle (10K break strength - cost - a little skill and less than $3.00 of materials). I run the nylon double braid outside all rigging to a strong cleat near the bow, thru a sizable block attached to the cleat with a strong soft shackle. The preventer is then run back to the cockpit on the side that the boom is flying to a cleat or the Self Tailing winch. I set the sail by letting the mainsheet out to where I want the boom then pulling on the preventer to line to tighten and fix the boom location against the mainsheet.
This sets the boom in a fixed location that not a dip in the wave or a sudden wind change can affect the boom till it is trimmed differently. With the long preventer line there is plenty of stretch to allow the preventer line to absorb any shock due to wind or water.