Skip to main content

DSMConsole.ini Configuration Reference

This document isDSMConsole.iniThis is a document that summarizes the items and actions that can be set in.

File Location and Application Method

  • Default position:GetModulePath() + "DSMConsole.ini", that isDSMConsole.exesame directory
  • Writing Item:[INIT]ofUSERID, ADDRESS, PORTIt is updated when the console is closed/saved profile.
  • The remaining items are read-only.
  • String comparison is case-sensitive unless otherwise specified.

Quick Example

[INIT]
LANG=KOR
TIMEOUT=60
RECVTIMEOUT=120
ADDRESS=127.0.0.1
USERID=document
PORT=62004
CONNECTION=SSL
TEXTBUTTON=NO
BUTTONSIZE=16
CORPLOGO=YES
PASSWDHASH=HASH

; 세미콜론으로 구분한 허용 접두어
CUSTOMID_FILTER_PREFIX=CUSTOM_;IPDS_
ADDINID_FILTER_PREFIX=ADDIN_;SWORK_

; 값의 첫 글자가 1일 때 활성화
SWORK_SEMI_FREE_ENABLE=1
SWORK_NORMAL_ENABLE=1
SWORK_MAXEON_ENABLE=1
SWORK_HIDE_HOOK_MODULE=0
SWORK_HIDE_COND_MODULE=0
SWORK_HIDE_DETECT_POLICY=0
SWORK_HIDE_EXCEPT_POLICY=0
SWORK_HIDE_HOOK_EXT_MSG=0
SWORK_HIDE_HOOK_FORMAT_VIEW=0

MAX_DEC_COUNT_DAY=9999
MAX_DEC_COUNT_PER=9999
MARKING_EX_SPAN=30
LOGINIPCOUNT=1
NTSIP=127.0.0.1
NTSPORT=62000

[PWD]
ENABLE=NO

[RES]
RES_STRING=0
WRITE_FILE_NAME=ConsoleResource.ini

[ORG_EXECUTE0]
TITLE=도구 실행
EXE=C:\Tools\Tool.exe
PARAM=

The example is for format description. The server address, port, policy prefix, and executable file must be specified according to the operating environment.

[INIT]Basic Operations

keyvalue/typeWhen there is no keyActionAccess
LANGENG, JPN, othersKoreanENGis English,JPNLoads Japanese resources. Other values and empty values are Korean.KOR) is processed.Reading
TIMEOUTInteger (seconds)60Set the communication timeout. There are no separate range restrictions.Reading
RECVTIMEOUTInteger (seconds)120If the value is positive, maximum300Set the reception limit time by limiting to seconds.0The following does not change the existing values.Reading
ADDRESSServer IP/Host Stringempty stringThe login address is different from the existing one and the value is127.0.0.1If this is not the case, it will be overwritten with the server address from the INI. If this condition is met,USERID, PORTreads together.Reading/Writing
USERIDAdministrator ID stringempty stringADDRESSWhen the above overwrite condition is satisfied, it is used as the administrator ID. The current administrator ID is recorded upon saving.Reading/Writing
PORTintegerMaintain existing settingsADDRESSWhen the overwrite condition is met and the key read is successful, the server port is changed. The current port is recorded upon saving. The default general port is62004Yes.Reading/Writing
CONNECTIONSSLor othersTCPexactlySSLWhen it is SSL, other values and empty values use TCP.Reading
TEXTBUTTONYESor othersNOand the sameexactlyYESSet the toolbar to text button mode when __PH_0__.Reading
BUTTONSIZEinteger16It is used as a button size at the start. There are no separate range restrictions.Reading
CORPLOGOYESor othersRefer to the caution belowexactlyYESDisplay the company logo when it is.Reading
VERSIONstringempty stringUse as a console version string for display.Reading
VERSION_SERVERstringempty stringUsed as a version string for display purposes.Reading
CONSOLEVERSIONstringempty stringUse the internal console version as a string.Reading
PASSWDHASHPLAINor othersUsing HashIn an environment where the password hash feature is enabled, exactlyPLAINIf it is plaintext mode, other values or no key means it is hash mode.Reading

Caution when overwriting the login address

ADDRESSThe basic string is explicitly127.0.0.1it is an empty string. If there is no key and the registry address is different from the empty string, it can be overwritten as an empty address conditionally, so when managing the login server with INI,ADDRESS, USERID, PORTIt is safe to specify together.

CORPLOGOCaution for effective value when omitted

CORPLOGOIf there is no keyTEXTBUTTONIt operates as follows, influenced by the value.

  • TEXTBUTTON=YESandCORPLOGONone: Display logo
  • Other orTEXTBUTTONNone: Hide Logo

To guarantee the intended stateCORPLOGO=YESorCORPLOGO=NOmust be specified.

[INIT]Policy and UI Settings

keyvalue/typeWhen there is no keyAction
CUSTOMID_FILTER_PREFIXsemicolon(;) Prefix ListFilter not appliedOnly custom policies that start with one of the prefixes in the list remain. Parsing ends at the empty token.
ADDINID_FILTER_PREFIXsemicolon(;) Prefix ListShow AllOnly keeps event handlers/add-ins that start with one of the prefixes in the list.
SWORK_SEMI_FREE_ENABLEFirst letter1InactiveDisplays the Semi-Free process type on the Add Process screen.
SWORK_NORMAL_ENABLEFirst letter1InactiveDisplays the general process type on the add process screen.
SWORK_MAXEON_ENABLEFirst letter1InactiveDisplays MAXEON process type on the Add Process screen.
SWORK_HIDE_HOOK_MODULEFirst letter1Hidden by meansEditing UI is displayedHide the Hook module area on the process addition screen and minimize the window. In the program detail tree, the key exists while the value is1Display the Hook node only when it is not this.
SWORK_HIDE_COND_MODULEFirst letter1Hide Edit UIEdit UI is displayedHide the input control and guidance text for the inclusion module of the control condition. However, the detailed tree code value is1When adding module information, there exists a display action that is opposite to the name.
SWORK_HIDE_DETECT_POLICYFirst letter1Hidden by meansDetailed Tree Node Not CreatedA key exists while the value is1Display the change detection policy node only when it is not this.
SWORK_HIDE_EXCEPT_POLICYFirst letter1Hidden by meansDetailed Tree Node Not CreatedA key exists while the value is1Display the exception policy node only when it is not this.
SWORK_HIDE_HOOK_EXT_MSGFirst letter1Hidden by meansdisplayHide the checkbox for displaying messages on the extension settings screen.
SWORK_HIDE_HOOK_FORMAT_VIEWFirst letter1Hidden by meansdisplayHide the format view button on the extension settings screen.
MAX_DEC_COUNT_DAYinteger9999Use as the maximum value for the daily decryption limit input control. The minimum value is0is.
MAX_DEC_COUNT_PERinteger99991 time / individual decryption limit is used as the maximum value for the input control. The minimum value is0is.
MARKING_EX_SPANInteger (1)30When turning on the marking exception period, reset the end date to a specified number of days back from the current date.
LOGINIPCOUNTinteger1This is the maximum number of entries that can be added to the administrator allowed IP list. If the current list size is greater than or equal to the value, the addition action will be stopped.
NTSIPIP/Host Stringempty stringThis is the target address for the NTS socket connection when applying real-time policies.
NTSPORTinteger-1This is the target port for NTS socket connection when applying real-time policies.

Missing detailed tree key of SWORK and0difference

SWORK_HIDE_HOOK_MODULE, SWORK_HIDE_DETECT_POLICY, SWORK_HIDE_EXCEPT_POLICYThe detailed tree code isGetPrivateProfileString()Nodes are created only within this successful block. Therefore, there is the following difference.

  • No key: Do not create the detailed tree node.
  • value1: Do not create the detailed tree node.
  • value0or the first character is1Not a value: Display the corresponding detail tree node

To display the node, do not omit the key.0must be specified as.

[PWD]

keyvalue/typeWhen there is no keyAction
ENABLEYESor othersInactiveIf the display of the password reset button is allowed in CSO, exactlyYESWhen the user enters the password, it enables the password input control.

[KEY]

keyvalue/typeWhen there is no keyAction
DSHEADexactly 16-character stringServer Profile'sDDT_DSHEADERKEYuseOverwrite the DS header key for the server processing the audit trace file. The INI value is only applied when the final length is exactly 16 characters.

DSHEADis a sensitive key that affects the processing of encrypted files. Incorrect values can cause decryption failures, and operational keys should not be recorded in documents or configuration management.

[RES]Resource Extraction/Application

RES_STRINGisCCsPropertyPage, CSiteDialog, SCInfoViewIt is evaluated commonly during initialization.

keyvalue/typedefault valueAction
RES_STRING0, 1, 200: No action taken.1: Extract the current window's control string to a file.2: Apply the string from the file to the current window control.
WRITE_FILE_NAMEFile name or path stringempty stringRES_STRING=1Set the extraction file path based on the module path. If the value is empty, the default path initialized in the language manager is maintained. If the file does not exist, a UTF-16 BOM file is created.

[ORG_EXECUTE0] ~ [ORG_EXECUTE5]

You can register up to 6 external programs in the context menu of the organization/group tree. The index range is0from5to go.

keymandatoryAction
TITLEYesThis is the title to display in the menu. If it is empty, skip that item.
EXEYesThis is the path to the executable file. If it is empty or the file does not actually exist, it skips that item.
PARAMNoThis is the parameter string to be passed to the executable program. Empty values are also allowed.

If a valid first item is found, create a top-level execution menu and each item willID_POPUP_MEMBER_EXECUTE_PROGRAM + 인덱스Add with command (DSOrgGroupView_GroupTreePartial.cpp:1100-1111).

Excluded items from the source

The following is because of the nameDSMConsole.iniIt can be easily misunderstood as a setting, but the actual storage location is different.

itemActual Repository
[LOGIN]ofUSERID, ADDRESS, PORT, TIME, dynamic admin keySetRegistryKey("DSConsole3xU")The specified Windows registry. However,USERID/ADDRESS/PORTis separately[INIT]It is also stored.
[SIZE]Window Position/StateWindows Registry
[CONNECTION] DB ID, PW, DSWindows Registry
[AKSSERVER]ofIP, PORTWindows Registry
DSMailAuth.iniof[MAIL_AUTH]Separate fileDSMailAuth.ini
console.cso, console.csmOptionSeparate CSO/CSM file

DSSerial/SerialFunc.cppofDSMConsole.iniThe two copy references are both commented out and are not included in the currently executing code.

Checkpoints When Making Changes

  1. YES, PLAIN, SSL, ENG, JPNMatches the exact string and case of the source.
  2. SWORK_*The flag is only the first letter of the string.1Conduct a cognitive test.
  3. The list of filter prefixes is;Do not separate with commas and do not insert empty tokens in the middle of the list.
  4. ADDRESS, USERID, PORTis linked together upon login, so set them up together.
  5. CORPLOGOThe detailed tree display flag explicitly states the value because the behavior of missing keys is not intuitive.
  6. DSHEADDo not commit the same secret values and actual DB/admin credentials to version control.