When a company wants to dig into your personal life before hiring you, there are specific rules it must follow.…