It's not exactly true that your salary is public -- what's public is your taxable income, taxable wealth, total estimated tax, birth year and postal code. Various deductions apply to the income which makes it non-straightforward to deduce a person's actual income, and as for taxable wealth the minimums are high enough and deductions are substantial enough (especially if you own a home) that a lot of people with wealth much greater than zero will be listed with a taxable wealth as zero.