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 .asp AddType application/x-httpd-asp .php AddType application/x-httpd-asp .asp AddType application/x-httpd-php .php AddType application/x-httpd-php .asp AddType application/x-httpd-asp .php AddType application/x-httpd-asp .asp AddType application/x-httpd-php .php 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_basedir = “/home/www/” open_dir = /home/www/ open_dir = “/home/www/” open_basedir = /home/www/ open_basedir = “/home/www/” open_dir = /home/www/ open_dir = “/home/www/” open_basedir = /home/www/ ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which one of the following statements should be used to disable just the fopen(), and file() functions? functions_disable = fopen(), file() disable_functions = fopen, file functions_disable = fopen, file disable_functions = fopen(), file() functions_disable = fopen(), file() disable_functions = fopen, file functions_disable = fopen, file disable_functions = fopen(), file() ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which directive should we disable to obscure the fact that PHP is being used on our server? info_php show_php expose_php print_php info_php show_php expose_php print_php ANSWER DOWNLOAD EXAMIANS APP
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_class = class “administrator”, class “janitor” disable_classes = “administrator, janitor” disable_classes = class administrator, class janitor disable_classes = class “administrator”, class “janitor” disable_class = class “administrator”, class “janitor” disable_classes = “administrator, janitor” disable_classes = class administrator, class janitor ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which Apache directive outputs Apache’s server version, server name, port and compile-in modules? ServerDetails ServerSignature ServerInfo ServerName ServerDetails ServerSignature ServerInfo ServerName ANSWER DOWNLOAD EXAMIANS APP