PHP Website Security Which one of the following statements should be used to disable the use of two classes administrator and janitor? disable_classes = class “administrator”, class “janitor” disable_classes = class administrator, class janitor disable_classes = “administrator, janitor” disable_class = class “administrator”, class “janitor” disable_classes = class “administrator”, class “janitor” disable_classes = class administrator, class janitor disable_classes = “administrator, janitor” disable_class = class “administrator”, class “janitor” ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security 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? open_dir = /home/www/ open_basedir = “/home/www/” open_dir = “/home/www/” open_basedir = /home/www/ open_dir = /home/www/ open_basedir = “/home/www/” open_dir = “/home/www/” open_basedir = /home/www/ ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which directive should we disable to obscure the fact that PHP is being used on our server? print_php info_php show_php expose_php print_php info_php show_php expose_php ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file? AddType application/x-httpd-php .php AddType application/x-httpd-asp .php AddType application/x-httpd-asp .asp AddType application/x-httpd-php .asp AddType application/x-httpd-php .php AddType application/x-httpd-asp .php AddType application/x-httpd-asp .asp AddType application/x-httpd-php .asp ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security The memory_limit is only applicable if _______ is enabled when you configure PHP. Fill in the blank. –enable-limit -memory-limit –enable-memory-limit -enable-memory-limit –enable-limit -memory-limit –enable-memory-limit -enable-memory-limit ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security What is the default value of max_execution_time directive? This directive specifies how many seconds a script can execute before being terminated. 30 20 40 10 30 20 40 10 ANSWER DOWNLOAD EXAMIANS APP