I think the key here is to not go to an isolated or vacant beach without enough people there to discourage something like this. Safety in numbers.