'Mind what you post online', expert tells students