🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Secure File Uploads: all 10 questions

Quiz: Secure File Uploads · Question 7 of 10

Why store uploads outside the web root?

Why store uploads outside the web root?

  1. A.So the web server never serves or executes them directly as scripts
  2. B.Because the web root is read-only by law
  3. C.It saves disk space
  4. D.So users cannot download their own files
Answer & explanation

Correct answer: So the web server never serves or executes them directly as scripts

A web shell is harmless if nothing will ever run it.

Can you get the rest right without peeking?

Take the timed Quiz: Secure File Uploads quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →