Ask the Expert

Why should I clear the contents of the swap file on a shutdown?

I was reading your definition of a "swap file" and the fact that it uses virtual (disc) memory to move the contents of physical memory to the virtual memory.

I have a system I am working with that is a proprietary NT-4 system and one of its security related settings allows you to "clear the swap file on shutdown". Any ideas why I would want to clear the contents of the swap file on a shutdown (from a security perspective)?

    Requires Free Membership to View

Many people who are highly security-conscious would want the swapfile to be cleared at shutdown to prevent someone from obtaining the file and analyzing it for possible sensitive information. This doesn't just include passwords stored in plaintext, but pieces of documents or other human-readable data could be found there and exploited. On systems where security isn't that big a consideration, this option has little benefit and it slows down the shutdown process enormously.

This was first published in September 2004

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: