Q:

Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?

(a) open_dir = “/home/www/”

(b) open_dir = /home/www/

(c) open_basedir = /home/www/

(d) open_basedir = “/home/www/”

The question was asked in unit test.

The query is from Website Security using PHP topic in chapter File and Session Handling in PHP of PHP

PHP

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.