'How to protect a value stored in a memory location using python?
I have some important value stored in some memory location and i have memory address of that memory location. As this memory address is not from my process or program memory other process or applications can access this memory location. As i have stored some value in that memory location using some libraries, i don't want other process or applications to rewrite the value in that memory location but it can read the value from that location.
As we have virtualprotect() in c++ is their any method to protect a particular memory, or to make it read-only memory, or is there any way such that i can provide access permission for only reading and not writing into that memory using python. As i am working on windows i cannot use mprotect() which is for linux or unix as of my knowledge.If i am wrong wrong in any aspect i apologise.
Output i need is no matter what other applications or process try to read or write value from a memory the value i have stored must not be changed.
Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
