I recommend that you reset the role of student and authenticated user to default, as explained in the documentation Managing roles, then students will no longer be able to edit other users' profiles.
General help
Students can access and change other users profiles
This discussion has been locked so you can no longer reply to it.