Creating windows service and security context

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jiho Han

    Creating windows service and security context

    This seems like a often-asked topic.

    I created a windows service and installed it on my workstation. The
    application basically goes out and "receieves" messages from a queue on a
    remote server.

    When I use a windows forms app that uses the same components(clas ses), it
    works fine but as a service it blocks on GetAllMessages( ) method due to
    security issue. However, I am able to create messages, so that rules out
    any network issues.

    I tried running the service as my logon user giving it log on as service
    right on the remote server. The logon user has proper rights on the remote
    queues to fetch messages. What is it that I am missing? Even though I set
    the service account to my logon use, I am wondering whether that is
    propagating at all. Is there a way to verify that the service is indeed
    running as my logon user? And also, are there other security policies, etc.
    that I must check other than Log on as service?

    Thanks
    Jiho


Working...