Always make your protection on all buildings not just spawn high enough to freezing height. Leave no gaps. Greifers might use steam generators to heat up the water to drop it but at least this will give you time to stop them. Or make your whole world cold but this is not recommended as if water does reach spawn doors it can create ice buildup
Is that your preferred method?
Steam generator are not intended for evil. For they are the root of purity