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_dir = /home/www/ open_basedir = /home/www/ open_basedir = “/home/www/” open_dir = “/home/www/” open_dir = /home/www/ open_basedir = /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_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 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 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
PHP Website Security Which Apache directive outputs Apache’s server version, server name, port and compile-in modules? ServerName ServerInfo ServerSignature ServerDetails ServerName ServerInfo ServerSignature ServerDetails 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-memory-limit –enable-limit -memory-limit –enable-memory-limit -enable-memory-limit –enable-limit -memory-limit –enable-memory-limit ANSWER DOWNLOAD EXAMIANS APP