1.

The authenticationFile.txt, the file which stores username and password should be stored ___ the server document root.(a) Inside(b) Outside(c) Within(d) None of the mentionedI had been asked this question in a national level competition.Enquiry is from User Authentication in portion File and Session Handling in PHP of PHP

Answer»

The correct option is (B) Outside

Easy explanation: If it is not STORED outside, the attacker could discover the FILE through brute force GUESSING.



Discussion

No Comment Found

Related InterviewSolutions