The public is being warned about the dangers of buying prescription drugs online.