|
|
|
|
|
by anoncake
2558 days ago
|
|
How would you prevent that? If programs can load files into memory and execute data loaded into memory as code, they can load files as code. The former is necessary for obvious reasons, the latter for JIT. It's also pointless. If a program can cause damage by loading harmful code it can also cause damage directly. Restricting what programs can do is a great way to prevent experimentation and hinder progress. |
|
>It's also pointless. If a program can cause damage by loading harmful code it can also cause damage directly.
It is not pointless, but it is also not perfect. That's why we have defense in depth. Where instead of having one perfect moat to protect the castle, you also have alligators and witches that turn people into frogs. :P