Should I secure a free-standing vanity sink to prevent drain pipe damage?
Shoot a couple 3" screws through the back of the cabinet into a stud.  (Be sure to not hit your supply or drain lines, etc.)

If you need to get to the cleanout, just pull those two screws.

Or do the same basic thing, but screwed into the floor.