A violent shooting threat received by students has triggered heightened security measures at the school.