I'm trying to understand how I'm able to access a PDF file from my website: /Documents/Publications/2015/file.pdf when /Documents comes up as a broken link. It appears to be non-existant.

  1. Why can I still access the file?
  2. How can I find out what other files reside in the parent directories?
  • 2
    Is this on your site? Or other websites?
    – John Conde
    Oct 27, 2016 at 18:04
  • "a broken link" - In what way "broken"? A 404 or 403 or something else?
    – MrWhite
    Oct 27, 2016 at 23:42
  • On another website - and it comes up with a 404 error message. My intent isn't malicious, it's mainly out of curiosity. The file I'm able to gain access to was a useful publication on network recon, I just wondered if there were any other useful publications within that directory I could access too.
    – Raptor_f22
    Oct 28, 2016 at 8:47
  • Cross-post
    – unor
    Oct 28, 2016 at 12:34

1 Answer 1

  1. URLs do not need to map directly onto the filesystem of the computer the HTTP server is running on.
  2. You can't unless the server tells you, and it doesn't appear to. There might not even be a parent directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.