Article L1221-6 of the French Labour Code
The information requested, in any form whatsoever, from a job applicant may only be used to assess his/her ability to hold the post offered or his/her professional aptitudes. This information must have a direct and necessary link with the job offered or with the assessment of professional aptitude. Candidates are required to respond in good faith to such requests for information.