DCOM security in VB application
Posted on 2005-05-06
I am developing a client/server application in Visual Basic 6. The same instance of the server will need to communicate with multiple clients over a LAN using DCOM, although each client will create a separate object.
I have succeeded in accomplishing a DCOM connection in my test environment with one networked client by going into dcomcnfg and specifying the user the server should run as. However, this approach will obviously not work with multiple users running multiple clients.
It was suggested to make the server into an NT service, so I tried that (using the NTSVC.OCX control). However, even on the local machine, clients would not use the instance of the server that the service created.
How I can configure the server so that multiple clients (under multiple users) can access it simultaneously? Thanks.