Security School

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: