It is probably not illegal. As long as you have access to the information it shouldn't be a problem. If for some reason you don't have access to look it up online, tell them that and make a request that they give you a printed copy.
Law Office of Bonita M. Riggens
669 1st Ave. N.
St. Petersburg, FL 33701
Employment law representation: Contracts (Noncompete Agreements, Severance Negotiations), Defamation, Discrimination (Age, Disability, Gender, Pregnancy, National Origin, Race, Religion), Family and Medical Leave Act, Overtime Law. Privacy Law, Retaliation and Whistleblower Law, Sex Harassment, Unemployment Compensation, Unpaid Wages, USERRA
Employment law for businesses Business privacy laws Personal injury and defamation Business Criminal charges for harassment Employment Unemployment compensation Employee wages Employee wages and overtime pay Privacy law Employee wages and wage theft Employee wages and severance pay Employee benefits Discrimination in the workplace Gender discrimination in the workplace FMLA (Family and Medical Leave Act) and employees Employee privacy rights Protections against employer retaliation Whistleblowing in the workplace Sick leave and work hours Gender discrimination Discrimination