Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cesnja
· 1y ago · 0 comments
You can still get hit by a path traversal exploit. The safest option is to only have the public files on the server.
Comments
[–]
jonhohle
1y ago
A path traversal is different from putting private files in a public directory. For a simple static site there will always be certs, /etc, and other things outside of the document root that shouldn’t be served.