I can't decide. They both sound fine.
To me, the very slight difference is this:
1) talks about students who attend the school and participate in the activities of the school.
2) talks about students who are enrolled in courses at the school.
I find it impossible to decide which I would say myself in a situation which required me to say one or the other! I'd probably say the first, but who knows? They are extremely similar to me.
Remember that these are personal impressions. Other speakers' impressions could well be different.
Also recall that there are many cases in English where two (sometimes more) prepositions are equally acceptable without any significant difference in meaning. The choice can be as arbitrary as which town you live in! If everyone in your town uses a certain construction, you will find yourself using it too.