Two security guards have been arrested after allegedly selling drugs to students.