Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 down vote accepted

Rather well-documented here:

DEP

ASLR

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

 
discard

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.