Instead of asking for a prospective employee's salary history, I think that an ethical employer should disclose the anticipated salary range for a position, and confirm that it would be acceptable if an offer were to result from the interview process. Any other approach is about creating a negotiating advantage for the employer.