Vidyalelo
PHP · Q17

HTML Forms Handling

Programming · PHP · question 17

Q17

The authentication File.txt, the file which stores username and password should be stored ________ the server document root.

A.
Inside
B.
Outside
Answer
C.
Within
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
f it is not stored outside, the attacker could discover the file through brute force guessing.