There are privacy laws that schools have to abide by in most states.
Those an regarding personal information about students and their grades. Since the name is not posted with the excerpt there was no loss of privacy.