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 the use of two classes administrator and janitor? disable_classes = class administrator, class janitor disable_class = class “administrator”, class “janitor” disable_classes = class “administrator”, class “janitor” disable_classes = “administrator, janitor” disable_classes = class administrator, class janitor disable_class = class “administrator”, class “janitor” disable_classes = class “administrator”, class “janitor” disable_classes = “administrator, janitor” ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which directive should we disable to obscure the fact that PHP is being used on our server? show_php print_php info_php expose_php show_php print_php info_php expose_php ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which one of the following statements should be used to disable just the fopen(), and file() functions? disable_functions = fopen(), file() functions_disable = fopen(), file() functions_disable = fopen, file disable_functions = fopen, file disable_functions = fopen(), file() functions_disable = fopen(), file() functions_disable = fopen, file disable_functions = fopen, file ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which Apache directive outputs Apache’s server version, server name, port and compile-in modules? ServerDetails ServerName ServerInfo ServerSignature ServerDetails ServerName ServerInfo ServerSignature ANSWER DOWNLOAD EXAMIANS APP
PHP Website Security Which directive determines which degree of server details is provided if the ServerSignature directive is enabled? ServerTokens ServerExtra ServerAddons ServerDetails ServerTokens ServerExtra ServerAddons ServerDetails ANSWER DOWNLOAD EXAMIANS APP