Educational institutions have become prime targets, but there are things they can do to stay safer.