News

Quiz: Secure Web directories and development, answer No. 1

The correct answer is:
c. E: \inetpub\wwwroot\myserver\scripts
E: \inetpub\wwwroot\myserver\static

You must put your Web content on a separate volume or drive from your operating system, so the answers with directories located on the C drive are incorrect. In order to follow the principle of least privilege, you must separate your scripts from your static content so that only files in the scripts directory are given permission to execute. Finally, you do not want to give executables permission to run on your Web server.

<< Back to quiz


Email Alerts

Register now to receive ComputerWeekly.com IT-related news, guides and more, delivered to your inbox.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
 

COMMENTS powered by Disqus  //  Commenting policy