Windows Programming Question:

Download Job Interview Questions and Answers PDF

What is the need of process relative handles?

Windows Programming Interview Question
Windows Programming Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Why the entries in the parent process table and child table are same?What happens when the CloseHandle(handle) is called?