Standard & Poor's: Go to Indices and click on the index you want.
Use the Datastream which can be accessed from the Library PCs - through LSEG Workspace (formerly Refinitiv Workspace). Search the Equity Indices area. The code for the S&P500 is S&PCOMP.
Factiva: Click on Companies/Markets, then Quotes. Factiva includes current data and some historical data covering the last 5 years.
For historical data, go to WRDS and select CRSP.