While applying to a job, I uploaded a resume to a recruiting website:
C:\myname\an\embarrassing\path\to\my\resume.pdf
Can the website see the file path of my uploaded document?
While applying to a job, I uploaded a resume to a recruiting website:
C:\myname\an\embarrassing\path\to\my\resume.pdf
Can the website see the file path of my uploaded document?
No! Almost all modern browsers change the path to something like C:\fakepath\filename.ext
in order to protect your privacy.
Browser security controls prevent client-side scripts from accessing the full path of local resources. JS running inside the context of a browser by default has no access to the file system. HTML5 provides an API as mentioned in this answer but apparently anonymizes/sanitize output at the browser level.