You can put a plastic container over the mains voltage section, or wrap it in sturdy plastic and fixate this with for example some pieces of tape. This prevents accidental touches of the primary section while poking around on the secondary side.
Do note this is mostly a personal safety thing (it won't kill you anymore), but it's no guarantee for the circuit itself. If for example the feedback circuit Often TL431 with opto coupler) gets disturbed, this may lead to the primary section attempting to deliver full power to the secondary section, which results in over voltages and may blow out IC's and capacitors.
The good old trick of incandescent lightbulb in series with the primary is still a valuable trick (although these things are becoming rare). The lightbulb is a PTC. It allows full voltage to the primary, but if the current in the primary becomes too high the light bulb "trips" and limits the current (and also give visual feedback). Just measure the DC resistance of a cold light bulb, and compare it with the nominal voltage / power of it to see how big this difference is.