DEVFYI - Developer Resource - FYI

What is the need of process relative handles?

Windows programming Interview Questions and Answers


(Continued from previous question...)

15. What is the need of process relative handles?

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

(Continued on next question...)

Other Interview Questions