Generally, the place where teachers and students get into trouble when it comes to copyrighted music is when anyone is doing something for a COMMERCIAL purpose (like a fundraiser) and using copyrighted content without permission, or when they are RE-PUBLISHING content without permission on the “open web.” (The public Internet, on a website which does not require a login or authentication to access it.)