Windows Programming Question:

What is the need of process relative handles?

Tweet Share WhatsApp

Answer:

The most important reason was robustness. If kernel object handles were system-wide values, one process could easily obtain the handle to an object that another process was using and wreak havoc on that process. Another reason for process-relative handles is security. Kernel objects are protected with security, and a process must request permission to manipulate an object before attempting to manipulate it. The creator of the object can prevent an unauthorized user from touching the object simply by denying access to it

Download Windows Programming PDF Read All 30 Windows Programming Questions
Previous QuestionNext Question
Why the entries in the parent process table and child table are same?What happens when the CloseHandle(handle) is called?