A system, method, and computer program product are disclosed for
prohibiting unauthorized access to a protected region of memory. A
protected region of memory and a trusted region of memory are both
specified. A call to access a location within the protected region of
memory is received. An origination location of the call is then
determined. In response to a determination that the origination location
is within the trusted region, the call is permitted to access the
protected region of memory. In response to a determination that the
origination location is outside of the trusted region, the call is
prohibited from accessing the protected region of memory.