← Quiz: Secure File Uploads: all 10 questions
Quiz: Secure File Uploads · Question 4 of 10
What are magic bytes?
What are magic bytes?
- A.A secret key added to every upload
- B.Fixed bytes at the start of a file that identify its format
- C.The last bytes of a file
- D.Bytes added by antivirus software
Answer & explanation
Correct answer: Fixed bytes at the start of a file that identify its format
For example, every PDF starts with %PDF- and every PNG with 89 50 4E 47.
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 →