When accepting user file uploads, one should never trust the file's ________ as it can be easily spoofed.

  • Extension
  • Size
  • Content-Type
  • Location
Trusting the file extension is risky, as attackers can easily change it. It's better to verify the file's content and use other security measures.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *