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


This was first published in June 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.