Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cyphar
· 10y ago · 0 comments
Never use filenames in a database. There's a bottomless well of security vulnerabilities that spring forth when you decide to "just store a path to the asset".
Comments
[–]
unlinker
10y ago
Of course, you don't take for granted what the client says. You generate your own file name.