by simply disallowing alter procedure/function in an SP (as for drop).
Attach a file by drag & drop or click to upload