How to control the foreground permissions in MIDAS in Delphi
(1) Principle:
Data is transmitted between the foreground program and the application server through the operation of the DCOM mechanism. The security mechanism of the DCOM object is based on the Windows NT security module as the basis. In other words, it is necessary to set whether a user has remote running the DCOM object. able
The most basic condition is that this user must be joined to the Windows NT user group, so that he is qualified to connect to Windows NT Server and then decide whether the specified application server can be run based on the DCOM permissions.
(2) Tools:
There is a DCOMCNFG.EXE tool in the system directory, which can be used to set the operation permissions of the application server.
(3) Control it yourself through the program (maybe preferable, avoiding the configuration complexity of the configuration personnel)