Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Lines from CLR via C#:
A managed module is a standard 32-bit Microsoft Windows portable executable (PE32) file or a standard 64-bit Windows portable executable (PE32+) file that requires the CLR to execute. By the way, managed assemblies always take advantage of Data Execution Prevention (DEP) and Address Space Layout Randomization (ASLR) in Windows; these two features improve the security of your whole system.

Que: I want to know the Security in which context here and what DEP and ASLR does here??

share|improve this question
up vote 2 down vote accepted

Rather well-documented here:



The long and short is DEP keeps data from being executed as code, such as buffer overflow attacks and ASLR keeps malicious code from knowing where other bits of code and data will be located at in memory, so it can't be easily attacked.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.