A method and system is disclosed for enhancing network security by using a
service entry stack in a distributed computer network. After an event
system receives an indication for a publisher to publish a first event to
a subscriber list of one or more event subscribers, authorization
concerns are examined for publishing the first event to each event
subscriber by sequentially examining each event subscriber in the
subscriber list. When publishing the first event to the event subscriber,
a service entry stack is utilized for recording event execution
information and process hierarchy of the distributed computer network so
that such information can be used for enhancing the security of the
distributed computer network.