Php Objective Questions with Answers for written test exams 58

Question 58
Which of the following activities can safe_mode help prevent?

A. Browsing the filesystem with a specially crafted PHP script.

B. Writing a Bash shell script to read session data.

C. Browsing the filesystem with a specially crafted Perl script.

D. Accessing another user’s database.
Answers 58


Answer A is correct because you’ll only be able to browse files that have the same

ownership as your PHP script. Answers B and C are incorrect because safe_mode

cannot affect scripts written in other languages. Answer D is incorrect because

safe_mode does not attempt to prevent database access.

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---