I don't understand what is the difference between these two:

(1) This class is unavailable to students.

(2) This class is unavailable for students.

If I write those sentences like this, does the meaning change? :

(3) At the moment, this class is unavailable to students.

(4) At the moment, this class is unavailable for students.

---

Are these correct?

I got here by plane.

I got here by walking.

I got here by feet.

I got here on feet. - Does this mean that I arrived safely and that I'm not sick?
Hello CloudFalls - and welcome to English Forums.

(1) This class is unavailable to students. (2) This class is unavailable for students.

I don't understand what is the difference between these two-- There is no difference in meaning. 'To' is the better choice.

(3) At the moment, this class is unavailable to students. (4) At the moment, this class is unavailable for students.

If I write those sentences like this, does the meaning change? -- No.

Are these correct?--Yes, as corrected:

I got here by plane. I got here by walking. I got here by foot. I got here on foot - Does this mean that I arrived safely and that I'm not sick?-- None of the sentences tell us anything about your health.
Thank you very much, Mister Micawber

Emotion: smile