Did the library have the desktop set up for public use, as libraries all have nowadays?
Then they were providing you equal access to their internet connection, they just weren’t going to let you do it on your computer unless your computer connected to their internet connection by satisfying their security requirements.