KR102588357B1 - System for controlling network access and method of the same - Google Patents

System for controlling network access and method of the same Download PDF

Info

Publication number
KR102588357B1
KR102588357B1 KR1020230058708A KR20230058708A KR102588357B1 KR 102588357 B1 KR102588357 B1 KR 102588357B1 KR 1020230058708 A KR1020230058708 A KR 1020230058708A KR 20230058708 A KR20230058708 A KR 20230058708A KR 102588357 B1 KR102588357 B1 KR 102588357B1
Authority
KR
South Korea
Prior art keywords
information
node
service request
gateway
data flow
Prior art date
Application number
KR1020230058708A
Other languages
Korean (ko)
Inventor
김영랑
Original Assignee
프라이빗테크놀로지 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 프라이빗테크놀로지 주식회사 filed Critical 프라이빗테크놀로지 주식회사
Priority to KR1020230058708A priority Critical patent/KR102588357B1/en
Application granted granted Critical
Publication of KR102588357B1 publication Critical patent/KR102588357B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 문서에 개시된 일 실시예에 따른 게이트웨이는, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드로부터 서비스 요청을 수신하고, 상기 서비스 요청에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 서비스 요청에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되는지 확인하고, 상기 보호 정보 토큰이 상기 데이터 플로우에 대응되면, 상기 데이터 플로우에 기반하여 상기 보호 정보 토큰에 대응되고 상기 서비스 요청에 삽입할 보호 정보를 생성하고, 상기 서비스 요청에 삽입할 보호 정보를 상기 서비스 요청에 삽입하여 서비스 서버로 포워딩하도록 구성되고, 상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. A gateway according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a service request from a node and responds to the service request. Verify the existence of a data flow that is corresponding and authorized from an external server, check whether the protection information token included in the service request corresponds to the data flow, and if the protection information token corresponds to the data flow, Based on the protection information token, generate protection information to be inserted into the service request, insert the protection information to be inserted into the service request into the service request, and forward the protection information token to the service server. It may consist of identification information processed by the gateway to maintain the flow of information to be protected between the target and the service server.

Description

네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법{SYSTEM FOR CONTROLLING NETWORK ACCESS AND METHOD OF THE SAME}System for controlling network access and method related thereto {SYSTEM FOR CONTROLLING NETWORK ACCESS AND METHOD OF THE SAME}

본 문서에 개시된 실시예들은 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다. Embodiments disclosed in this document relate to a system and method for controlling network access.

다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 단말은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다.Multiple devices can communicate data over a network. For example, a terminal can transmit or receive data to and from a server via the Internet. Networks may include public networks such as the Internet as well as private networks such as intranets.

논리적 연결, 터널, 보안 세션 등 접속성 제어에 기반하여 게이트웨이와 연결된 노드는 다양한 인증과 허용 여부, 안전성 검증 등의 절차를 통해서 인가된 경우에만 네트워크를 연결하고, 다양한 검사를 통해 인가되지 않은 노드는 접속을 부여받지 못하여 기존의 IP 기반 필터링 기술을 사용하는 네트워크 경계 기술의 불특정 대상이 상시 연결 가능하였다. Based on connectivity control such as logical connection, tunnel, and security session, nodes connected to the gateway connect to the network only when authorized through various authentication, permission, and safety verification procedures. Nodes that are not authorized through various checks are connected to the network. Because access was not granted, unspecified targets of network border technology using existing IP-based filtering technology were always able to connect.

노드는 게이트웨이와 컨트롤러 사이에 상호 신뢰 관계를 형성하고, 부여된 접속을 통해서 게이트웨이와 연결된 서비스에 접속할 수 있지만, Layer 7 (Application Layer)에 존재하는 서비스 서버(예: Web Server, Web Application Server 등)는 여전히 Layer 3 (Network Layer)의 출발지 IP 주소만 식별할 수 있기 때문에 인가된 대상 여부 및 어떠한 대상이 접속하고 있는지에 대한 상세한 정보를 식별할 수 없는 문제가 발생할 수 있다. Nodes form a mutual trust relationship between the gateway and the controller, and can access services connected to the gateway through the granted connection, but service servers (e.g. Web Server, Web Application Server, etc.) that exist in Layer 7 (Application Layer) Since it can still only identify the source IP address of Layer 3 (Network Layer), there may be problems in identifying detailed information about whether the target is authorized and which target is accessing it.

위와 같은 문제를 해결하기 위해 서비스 서버는 별도의 인증 절차(예: 사용자 ID 및 비밀번호 입력 기반 인증 또는 Multi Factor Authentication, OAuth 인증 등)를 수행하여 사용자를 식별하고 고유의 식별 정보를 생성하여 Layer 7의 프로토콜에 삽입함으로써 이후 서비스 요청시 삽입된 식별 정보를 기반으로 노드와 서비스간에 상호 인증을 유지하고 대상을 식별하는 등의 방법을 사용한다. To solve the above problem, the service server performs a separate authentication procedure (e.g., user ID and password input-based authentication or Multi Factor Authentication, OAuth authentication, etc.) to identify the user and generate unique identification information to By inserting it into the protocol, methods such as maintaining mutual authentication between the node and the service and identifying the target are used based on the identification information inserted during the subsequent service request.

다만, 이러한 노드 및 서비스간 식별 정보 삽입 기반의 인증 방식은 두 통신 대상의 통신 구간에서 식별 정보가 노출되며 특히 IP 네트워크 스택(OSI 7 Layer)으로 통제할 수 없는 사각지대가 존재하는 노드는 멀웨어에 감염되었거나 의도를 가지고 있는 탈취자가 서비스로부터 수신한 식별 정보를 탈취 및 타 노드에 탈취된 식별 정보를 삽입하여 서비스를 요청하는 경우 탈취된 노드의 인증 및 관련 권한을 부여받아 서비스를 사용할 수 있게 되는 취약점이 존재할 수 있다. However, this authentication method based on inserting identification information between nodes and services exposes identification information in the communication section of the two communication targets, and in particular, nodes that have blind spots that cannot be controlled by the IP network stack (OSI 7 Layer) are vulnerable to malware. If an infected or intentional hijacker steals the identification information received from the service and requests the service by inserting the stolen identification information into another node, the service can be used by receiving authentication and related permissions from the hijacked node. This can exist.

상기와 같은 취약점을 해결하기 위해 서비스는 고정된 식별 정보가 아닌 임의의 토큰 방식을 사용하지만 여전히 탈취 및 공격 방식 또한 고도화되면서 임의의 토큰을 사용하는 식별 정보도 동일한 취약점이 발생할 수 있다. To solve the above vulnerabilities, the service uses random tokens rather than fixed identification information, but as theft and attack methods are still becoming more sophisticated, the same vulnerabilities may occur with identification information using random tokens.

본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system and method for solving the above-described problems in a network environment.

본 문서에 개시된 일 실시예에 따른 게이트웨이는, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드로부터 서비스 요청을 수신하고, 상기 서비스 요청에 대응되고 상기 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 서비스 요청에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되는지 확인하고, 상기 보호 정보 토큰이 상기 데이터 플로우에 대응되면, 상기 데이터 플로우에 기반하여 상기 보호 정보 토큰에 대응되고 상기 서비스 요청에 삽입할 보호 정보를 생성하고, 상기 서비스 요청에 삽입할 보호 정보를 상기 서비스 요청에 삽입하여 서비스 서버로 포워딩하도록 구성되고, 상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. A gateway according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a service request from a node and responds to the service request. Confirm the existence of a data flow that is corresponding and authorized from the external server, check whether the protection information token included in the service request corresponds to the data flow, and if the protection information token corresponds to the data flow, the data flow Based on this, generate protection information that corresponds to the protection information token and be inserted into the service request, and insert the protection information to be inserted into the service request into the service request and forward it to the service server, wherein the protection information token is configured to: It may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 데이터 베이스를 저장하는 메모리 및 상기 메모리 및 상기 통신 회로와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드로부터 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 목적지 네트워크의 식별 정보를 포함하고, 상기 데이터 베이스에 기반하여 상기 노드가 상기 목적지 네트워크에 접속 가능한지 여부를 확인하고, 접속이 가능하면, 상기 데이터베이스에 기반하여 상기 노드가 상기 목적지 네트워크에 접속하기 위하여 논리적 연결 인증 기반 접속을 수행할지, 인가된 채널 또는 세션 기반 접속을 수행할지 상기 노드의 접속 방식을 결정하고, 상기 게이트웨이와 상기 노드간 논리적 연결, 채널 또는 세션 중 적어도 어느 하나의 생성 가능 여부를 확인하고, 상기 노드가 상기 목적지 네트워크에 접속하기 위한 데이터 플로우를 생성하고, 상기 데이터 플로우를 상기 게이트웨이 및 상기 노드에게 전송하도록 구성되고, 상기 데이터 플로우는 인증 정보 및 상기 게이트웨이가 상기 노드에게 서비스 요청 결과를 반환하는 경우 상기 게이트웨이가 제거하고 반환해야하는 보호 정보 중 데이터 플로우에 갱신해야하는 보호 정보 및 상기 게이트웨이에서 생성할 보호 정보 토큰 생성에 관련된 정보를 포함하고, 상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. A server according to an embodiment disclosed in this document includes a communication circuit, a memory for storing a database, and a processor operatively connected to the memory and the communication circuit, wherein the processor receives a network connection request from a node. The network connection request includes identification information of the destination network of the node, and whether the node can access the destination network is checked based on the database. If access is possible, the node is checked based on the database. To connect to the destination network, the node determines the connection method of the node, whether to perform a logical connection authentication-based connection or an authorized channel or session-based connection, and selects a logical connection, channel, or session between the gateway and the node. Configured to check whether at least one can be created, to generate a data flow for the node to connect to the destination network, and to transmit the data flow to the gateway and the node, wherein the data flow includes authentication information and the When the gateway returns a service request result to the node, among the protection information that the gateway must remove and return, it includes protection information that must be updated in the data flow and information related to the creation of a protection information token to be generated by the gateway, and the protection information token may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

본 문서에 개시된 일 실시예에 따른 게이트웨이의 동작 방법은, 노드로부터 서비스 요청을 수신하는 동작, 상기 서비스 요청에 대응되고 상기 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하는 동작, 상기 서비스 요청에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되는지 확인하는 동작, 상기 보호 정보 토큰이 상기 데이터 플로우에 대응되면, 상기 데이터 플로우에 기반하여 상기 보호 정보 토큰에 대응되고 상기 서비스 요청에 삽입할 보호 정보를 생성하는 동작, 상기 서비스 요청에 삽입할 보호 정보를 상기 서비스 요청에 삽입하여 서비스 서버로 포워딩하는 동작을 포함하고, 상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. A method of operating a gateway according to an embodiment disclosed in this document includes receiving a service request from a node, confirming the existence of a data flow corresponding to the service request and authorized from the external server, and included in the service request. An operation of checking whether the protected information token corresponds to the data flow, and if the protected information token corresponds to the data flow, generating protected information that corresponds to the protected information token and is inserted into the service request based on the data flow. An operation of inserting protection information to be inserted into the service request into the service request and forwarding it to the service server, wherein the protection information token is used as a gateway to maintain the flow of information to be protected between the authorized target and the service server. It may consist of identification information processed by .

본 문서에 개시되는 실시예들에 따르면, 노드에서 수신하거나 전송하는 서비스 요청 및 반환 정보에 서비스가 부여한 식별 정보가 존재하지 않아, 탈취할 정보가 없어 세션 하이재킹이 불가능하도록 네트워크 접속을 제어할 수 있다. According to the embodiments disclosed in this document, there is no identification information given by the service in the service request and return information received or transmitted by the node, so there is no information to steal, so network access can be controlled so that session hijacking is impossible. .

또한, 본 문서에 개시되는 실시예들에 따르면, 노드와 컨트롤러, 컨트롤러와 게이트웨이간에 연결된 제어 플로우(제어 데이터 패킷의 흐름)를 통해 식별 및 인증된 노드 정보와 컨트롤러를 통해서 노드와 게이트웨이와의 연결 및 부여된 접속(Connection) 및 데이터 플로우 (노드와 서비스간 데이터 패킷의 흐름) 정보를 식별 및 상호 매칭하고 서비스가 인식할 수 있는 노드의 식별 및 인증 정보 또는 보호 정보를 게이트웨이에서 삽입하여 서비스로 전송함으로써 서비스가 별도의 노드 및 인증 절차 없이 수신된 식별 정보를 컨트롤러에 질의함으로써 노드를 식별할 수 있는 방식을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, node information identified and authenticated through a control flow (flow of control data packets) connected between the node and the controller, and the controller and the gateway, and the connection between the node and the gateway through the controller. By identifying and matching the granted connection and data flow (flow of data packets between nodes and services) information and inserting the identification and authentication information or protection information of nodes that the service can recognize at the gateway and transmitting them to the service. The service can provide a way to identify a node by querying the controller for the received identification information without a separate node and authentication process.

본 문서에 개시되는 실시예들에 따르면, 서비스가 노드에 반환하는 정보에 중요 식별 및 인증, 그 외의 정보가 포함되어 있을 경우 게이트웨이에서 해당 정보를 제거하고 노드로 전송하기 때문에 실질직인 식별 및 인증 정보는 노드가 서비스와 통신하는 구간에 존재하는 게이트웨이와 서비스 구간에만 존재하며 노드와 게이트웨이 구간에서는 해당 정보가 존재하지 않게 되므로 네트워크 접속의 취약점이 해결될 수 있다. According to the embodiments disclosed in this document, if the information returned by the service to the node includes important identification and authentication and other information, the corresponding information is removed from the gateway and transmitted to the node, so that the actual identification and authentication information exists only in the gateway and service sections that exist in the section where the node communicates with the service, and since the corresponding information does not exist in the node and gateway section, vulnerabilities in network access can be resolved.

또한, 본 문서에 개시되는 실시예들에 따르면, 노드, 컨트롤러, 게이트웨이 간의 연결 구조를 통해서 노드에게 전달되지 않아야 할 중요 정보들을 제거하고 게이트웨이 및 컨트롤러 또는 제3 자의 서버를 통해서 관련 정보들을 관리(및 저장, 삽입 등)함으로써 노드와 게이트웨이, 게이트웨이와 서비스 서버 간의 논리적 분리가 가능할 수 있다. In addition, according to the embodiments disclosed in this document, important information that should not be transmitted to the node is removed through the connection structure between the node, controller, and gateway, and related information is managed (and storage, insertion, etc.), thereby enabling logical separation between the node and the gateway, and between the gateway and the service server.

또한, 본 문서에 개시되는 실시예들에 따르면, 컨트롤러는 사전에 식별된 정보 (예: 사용자 및 노드, 애플리케이션 식별 정보) 및 보호 정보 (예: 노드 종류, 컴플라이언스 준수 정보 등), 노드가 제 3의 인증 기관으로부터 인증을 수행하여 식별하거나 발급받은 정보 (예: Access Token 등)를 노드의 서비스 요청에 대응하는 게이트웨이에서 해당 정보를 삽입하여 서비스로 전송함으로써 서비스는 별도의 컨트롤러 연동 없이 삽입된 정보를 기반으로 자체적인 인증 및 권한 처리를 수행하거나 제3의 인증 기관과의 연동을 통해서 인증을 수행하는 대신 상기의 정보는 서비스가 서비스의 요청이 반환되어 게이트웨이를 통과할 때에 삭제되어 전송되기 때문에 노드는 중요 정보를 획득 및 조작할 수 없는 상태를 제공할 수 있다. In addition, according to embodiments disclosed in this document, the controller stores pre-identified information (e.g., user and node, application identification information) and protected information (e.g., node type, compliance information, etc.) The information (e.g. Access Token, etc.) identified or issued by performing authentication from a certification authority is inserted and transmitted to the service at the gateway that responds to the node's service request. The service then receives the inserted information without interconnecting a separate controller. Instead of performing authentication and authorization processing based on its own or through linking with a third-party certification authority, the above information is deleted and transmitted when the service request returns and passes through the gateway, so the node It can provide a state in which important information cannot be acquired or manipulated.

또한, 본 문서에 개시되는 실시예들에 따르면, 게이트웨이는 노드가 서비스 서버에 서비스 요청 이후 반환 시점에 식별된 노드와 서비스 서버의 도메인 또는 IP 주소 및 포트 정보로 식별된 영역내에서 공통적으로 사용되는 인증 및 보호 정보를 저장하고, 노드에는 인증 및 보호 정보를 삭제하고 전송하며, 다시 노드가 해당 서비스 서버에 서비스 요청을 하는 경우 식별된 도메인 또는 IP 주소, 포트 정보 및 노드 식별 정보에 대응하여 이전에 저장했던 정보를 삽입하여 전송함으로써 서비스 서버는 기존과 동일한 서비스 환경에서 노드에 인증 및 중요 정보가 노출되지 않는 네트워크 접속 방식을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, the gateway is a commonly used node within an area identified by the domain or IP address and port information of the node and service server identified at the time of return after the node requests service to the service server. Authentication and protection information is stored, authentication and protection information is deleted and transmitted to the node, and when the node makes a service request to the corresponding service server, it responds to the identified domain or IP address, port information, and node identification information. By inserting and transmitting the stored information, the service server can provide a network connection method that does not expose authentication and important information to nodes in the same service environment as before.

또한, 본 문서에 개시되는 실시예들에 따르면, 서비스의 특정 기능의 연속적인 흐름(예: 쇼핑몰 장바구니 담기 -> 배송 정보 입력 -> 결제 -> 완료 단계)에만 보호해야 하는 정보를 처리하는 경우 및 처리 과정에서 서비스는 중요 정보를 추가하거나, 갱신 및 제거하게 되며, 이러한 경우 서비스 구분 대상을 기준으로 보호 대상 정보를 처리하는 경우 방대한 양의 정보를 게이트웨이에서 관리하고 또한 서비스에 불필요로 한 정보들이 전달되는 문제를 방지할 수 있다. In addition, according to the embodiments disclosed in this document, when information that needs to be protected is processed only in the continuous flow of a specific function of the service (e.g., adding to shopping cart -> entering shipping information -> payment -> completion step) During the processing process, the service adds, updates, and removes important information. In this case, when processing information subject to protection based on service classification, a vast amount of information is managed by the gateway and unnecessary information is transmitted to the service. problems can be prevented.

또한, 본 문서에 개시된 실시예들에 따르면, 게이트웨이는 노드 및 서비스 서버 간의 연속적인 흐름 속에서 처리되는 보호 대상 정보를 관리하기 위해 노드에 고유 및 일시적으로 사용 가능한 식별 정보를 부여하고 식별 정보에 보호 대상 정보를 공통적으로 관리되어야 할 보호 대상 정보와 별도로 관리할 수 있다. In addition, according to the embodiments disclosed in this document, the gateway grants unique and temporarily usable identification information to the node to manage protected information processed in the continuous flow between the node and the service server, and protects the identification information. Target information can be managed separately from information subject to protection that must be managed in common.

또한, 본 문서에 개시되는 실시예들에 따르면, SSO (Single Sign On), SAML (Security Assertion Markup Language), OAuth등과 같은 인증 기술 또는 결제(Payment) 프로토콜이 포함하고 있는 Redirection 기반 인증 및 Transaction 처리의 경우, 서로 다른 두 도메인 사이에서 식별 정보의 전달 및 교환이 발생하는 경우에도 부여된 식별 정보를 기반으로 연속적인 흐름상에서 발생하는 보호 대상 정보를 처리하여 서로 다른 도메인 간의 인증 및 중요 정보를 보다 세밀하게 보호할 수 있다. In addition, according to the embodiments disclosed in this document, redirection-based authentication and transaction processing included in authentication technologies or payment protocols such as SSO (Single Sign On), SAML (Security Assertion Markup Language), OAuth, etc. In this case, even when transmission and exchange of identification information occurs between two different domains, the protected information that occurs in a continuous flow is processed based on the assigned identification information to provide more detailed authentication and important information between different domains. It can be protected.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects that can be directly or indirectly identified through this document may be provided.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다.
도 5는 다양한 실시예들에 따른 서비스 요청 정보 포워딩시 인가된 대상의 보호 정보 삽입 구조의 예시를 도시한다.
도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.
도 8은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다.
도 9는 다양한 실시예들에 따른 서비스 요청을 처리하기 위한 신호 흐름도를 도시한다.
도 10은 다양한 실시예들에 따른 서비스 요청 결과를 처리하기 위한 동작 흐름도를 도시한다.
도 11은 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.
도 12는 다양한 실시예들에 따른 네트워크 접속 해제를 위한 신호 흐름도를 도시한다.
도 13은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.
도 14는 다양한 실시예들에 따른 게이트웨이의 동작 방법을 설명하기 위한 흐름도를 도시한다.
Figure 1 shows an environment including multiple networks.
Figure 2 shows an architecture within a network environment according to various embodiments.
3 is a functional block diagram showing a database stored in a controller according to various embodiments.
Figure 4 shows a functional block diagram of a node according to various embodiments.
Figure 5 shows an example of a structure for inserting protection information of an authorized target when forwarding service request information according to various embodiments.
Figure 6 shows a signal flow diagram for controller connection according to various embodiments.
7 shows a signal flow diagram for user authentication according to various embodiments.
Figure 8 shows a signal flow diagram for network access according to various embodiments.
Figure 9 shows a signal flow diagram for processing a service request according to various embodiments.
Figure 10 shows an operation flowchart for processing service request results according to various embodiments.
Figure 11 shows a signal flow diagram for control flow update according to various embodiments.
Figure 12 shows a signal flow diagram for network connection release according to various embodiments.
Figure 13 shows a signal flow diagram for terminating application execution according to various embodiments.
FIG. 14 shows a flowchart explaining a gateway operation method according to various embodiments.

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments of the present invention are described below with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, but should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present invention.

본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.In this document, the singular form of a noun corresponding to an item may include one or plural items, unless the relevant context clearly indicates otherwise. In this document, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C” and “A, Each of phrases such as “at least one of B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, module or program) described in this document may include singular or plural entities. According to various embodiments, one or more of the corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일보호 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integral part or the smallest unit of the part or part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine) 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램 또는 애플리케이션)로서 구현될 수 있다. 예를 들면, 기기의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may be implemented as software (e.g., a program or application) including one or more instructions stored in a storage medium (e.g., memory) that can be read by a machine. For example, the processor of the device may call at least one instruction among one or more instructions stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 애플리케이션 스토어를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 애플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. Methods according to various embodiments disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. A computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store or between two user devices (e.g. smartphones). It may be distributed in person or online (e.g., downloaded or uploaded). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store server, or a relay server.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. Figure 1 shows an environment including multiple networks.

도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. Referring to FIG. 1, the first network 10 and the second network 20 may be different networks. For example, the first network 10 may be a public network such as the Internet, and the second network 20 may be a private network such as an intranet or VPN.

제1 네트워크(10)는 출발지 노드(101)를 포함할 수 있다. 도 1 및 이하 서술되는 실시 예들에서, '출발지 노드'는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 출발지 노드(101)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 출발지 노드(101)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 통신 장치를 포함할 수 있다. 출발지 노드(101)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. 한편, 도착지 노드(102)는 상술한 출발지 노드(101)와 동일 유사한 장치를 포함할 수 있다. 다른 예를 들어, 도착지 노드(102)는 목적지 네트워크와 실질적으로 동일할 수 있다. The first network 10 may include a source node 101. In FIG. 1 and the embodiments described below, the 'source node' may be various types of devices capable of performing data communication. For example, the source node 101 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, or a virtual reality (VR) device. , or home appliances and is not limited to the above-mentioned devices. For example, source node 101 may include a server or communication device capable of transmitting data packets through an application. The source node 101 may also be referred to as an ‘electronic device’ or a ‘terminal’. Meanwhile, the destination node 102 may include the same or similar device as the above-described source node 101. As another example, the destination node 102 may be substantially the same as the destination network.

출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 통신 장치(103)를 통해 데이터를 도착지 노드(102)로 전송할 수 있다. 실시예에 따르면, 통신 장치(103)는 출발지 노드(101)에 포함된 구성일 수 있다. The source node 101 may attempt to access the second network 20 and transmit data to the destination node 102 included in the second network 20. The source node 101 may transmit data to the destination node 102 through the communication device 103. According to an embodiment, the communication device 103 may be a component included in the source node 101.

출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. If the connection of the source node 101 to the first network 10 is approved, the source node 101 can communicate with all servers included in the first network 10, and therefore the source node 101 is malicious. ) may be exposed to program attacks. For example, the source node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browsers 110a and business applications 110b. ) It is possible to receive data from untrusted or unsecured applications, such as the business application 110d.

악성 프로그램으로부터 감염된 출발지 노드(101)는 제2 네트워크(20)로의 접속 및/또는 데이터 전송을 시도할 수 있다. 제2 네트워크(20)가 VPN과 같이 IP에 기반하여 형성되는 경우, 제2 네트워크(20)는 제2 네트워크(20) 내에 포함되는 복수의 장치들을 개별적으로 모니터링하기 어려울 수 있으며, OSI 계층에서 응용 계층 또는 전송 계층에 대한 보안에 취약할 수 있다. 또한, 채널이 이미 생성된 이후에 출발지 노드(101)가 악성 애플리케이션을 포함하는 경우, 상기 악성 애플리케이션의 데이터는 제2 네트워크(20) 내의 다른 전자 장치(예: 도착지 노드(102))에게 전달될 수 있다.The source node 101 infected by a malicious program may attempt to connect to the second network 20 and/or transmit data. If the second network 20 is formed based on IP, such as a VPN, it may be difficult for the second network 20 to individually monitor a plurality of devices included in the second network 20, and application at the OSI layer may be difficult. Security at the layer or transport layer may be vulnerable. Additionally, if the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application will be transmitted to another electronic device (e.g., the destination node 102) within the second network 20. You can.

도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. Figure 2 shows an architecture within a network environment according to various embodiments.

도 2를 참조하면, 노드는 제1 노드(201) 및 제2 노드(207)를 포함할 수 있다. 예를 들어, 제1 노드(201)는 접속 제어 애플리케이션(211)이 설치되어 있는 노드이고 제2 노드(207)는 접속 제어 애플리케이션이 설치되어 있지 않은 노드일 수 있다. 아래에서는, 제1 노드(201)를 노드(201)로서 기술한다. Referring to FIG. 2, the nodes may include a first node 201 and a second node 207. For example, the first node 201 may be a node on which the access control application 211 is installed, and the second node 207 may be a node on which the access control application is not installed. Below, the first node 201 is described as node 201.

노드(201)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 노드(201)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 노드(201)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 노드(201)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Node 201 may be various types of devices capable of performing data communication. As another example, the node 201 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, or a virtual reality (VR) device. , or home appliances and is not limited to the above-mentioned devices. For example, node 201 may include a server or gateway that can transmit data packets through an application. Node 201 may also be referred to as an ‘electronic device’ or a ‘terminal’.

노드(201)는 제1 타겟 애플리케이션(212), 제2 타겟 애플리케이션(213) 및 접속 제어 애플리케이션(211)을 저장할 수 있다. 타겟 애플리케이션(212)은 접속 제어 애플리케이션(211)의 제어를 받고, 게이트웨이(203)를 통해 목적지 네트워크(205)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 제1 타겟 애플리케이션(212) 및 제2 타겟 애플리케이션(213) 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 접속 제어 애플리케이션(211)의 네트워크 접속 제어를 통해 인가되지 않은 프로그램(애플리케이션)의 목적지 네트워크(205)에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. 예를 들어, 실시예들에 따른 타겟 애플리케이션(212)이 목적지 네트워크(205)와 통신하기 이전에 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 접속 가능 여부를 확인할 수 있다. 접속이 가능하면 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212) 및 제2 타겟 애플리케이션(213)의 데이터 패킷 전송을 제어할 수 있다. 즉, 제1 타겟 애플리케이션(212) 및 제2 타겟 애플리케이션(213)이 네트워크에 접속하기 위해서는 접속 제어 애플리케이션(211)을 통해야 하고, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 인가되어야 하며, 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212) 및 제2 타겟 애플리케이션(213)의 데이터 패킷을 컨트롤러(202)의 정책에 기반한 데이터 플로우에 기반하여 전송할 수 있다. 실시예에 따르면, 제1 타겟 애플리케이션(212)은 게이트웨이(203) 간 채널 또는 세션이 생성되어 네트워크 접속이 제어될 수 있고, 제2 타겟 애플리케이션(213)은 논리적 연결을 통해 네트워크 접속이 제어될 수 있다. The node 201 may store the first target application 212, the second target application 213, and the access control application 211. The target application 212 is under the control of the access control application 211 and can transmit data packets to the destination network 205 through the gateway 203 or, conversely, receive data packets. Some of the first target applications 212 and second target applications 213 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs. , The network access system according to embodiments can block access of unauthorized programs (applications) to the destination network 205 and isolate the programs through network access control of the access control application 211. For example, before the target application 212 according to embodiments communicates with the destination network 205, the connection control application 211 may check whether connection is possible from the controller 202. If connection is possible, the connection control application 211 can control data packet transmission of the first target application 212 and the second target application 213. That is, in order for the first target application 212 and the second target application 213 to access the network, they must use the access control application 211, and the access control application 211 must be authorized by the controller 202. The control application 211 may transmit data packets of the first target application 212 and the second target application 213 based on a data flow based on the policy of the controller 202. According to the embodiment, the network connection of the first target application 212 may be controlled by creating a channel or session between the gateways 203, and the network connection of the second target application 213 may be controlled through a logical connection. there is.

실시예에 따르면, 제2 노드(207)는 접속 제어 애플리케이션이 설치되지 않은 노드로서, 게이트웨이(203)를 통해 네트워크 접속이 제어될 수 있다. According to the embodiment, the second node 207 is a node in which the access control application is not installed, and network access can be controlled through the gateway 203.

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201), 게이트웨이(203), 및 목적지 네트워크(205) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 노드(201)(또는 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있다. 컨트롤러(202)는 노드(201)와 게이트웨이(203)간 채널을 생성할 수 있도록 하는 정보를 제공할 수 있다. 따라서, 노드(201)의 접속 제어 애플리케이션(211)은 허용되지 않은 애플리케이션이 허용되지 않은 목적으로 데이터 패킷을 전송하는 것을 방지할 수 있고, 게이트웨이(203)와 생성된 채널을 통해서 허용된 데이터 패킷만이 목적지 네트워크(205)로 전송될 수 있는 구조를 제공할 수 있다. Controller 202 may be, for example, a server (or cloud server). The controller 202 can manage data transmission between the node 201, the gateway 203, and the destination network 205 to ensure reliable data transmission within the network environment. For example, the controller 202 may allow the authorized node 201 (or the access control application 211) to access the network through policy information or blacklist information. The controller 202 may provide information to create a channel between the node 201 and the gateway 203. Accordingly, the access control application 211 of the node 201 can prevent unauthorized applications from transmitting data packets for unauthorized purposes, and only allow data packets through the gateway 203 and the created channel. A structure can be provided that can be transmitted to this destination network (205).

실시예에 따르면, 컨트롤러(202)는 인증 서버(207)와 통신하여 추가 인증을 수행할 수 있다. 예를 들어, 컨트롤러(202)는 인증 요청이 수신되는 경우 인증 서버(207)에게 추가 인증을 수행할지 여부를 확인할 수 있고, 추가 인증을 수행하는 경우 인증 서버(207)에게 인증을 요청하여 인증 관련 정보를 수신할 수 있다. 실시예에 따르면, 인증 서버(207)는 OAuth, SAML, LDAP, Active Directory와 같은 인증 관련 기술 중 적어도 어느 하나를 포함할 수 있다. According to an embodiment, the controller 202 may communicate with the authentication server 207 to perform additional authentication. For example, when an authentication request is received, the controller 202 may check with the authentication server 207 whether to perform additional authentication, and if additional authentication is performed, request authentication from the authentication server 207 to Information can be received. According to the embodiment, the authentication server 207 may include at least one of authentication-related technologies such as OAuth, SAML, LDAP, and Active Directory.

실시예에 따르면, 제1 타겟 애플리케이션(212) 및 제2 타겟 애플리케이션(213)의 네트워크 접속은 접속 제어 애플리케이션(211), 컨트롤러(202) 또는 게이트웨이(203)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201) 또는 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. 실시예에 따르면, 컨트롤러(202)는 연동 시스템(예: 노드(201), 게이트웨이(203) 또는 목적지 네트워크(205))으로부터 수신된 보안 이벤트에 따라 채널을 즉시 회수함으로서 상시 안전한 네트워크 상태를 유지할 수 있다. According to an embodiment, network access of the first target application 212 and the second target application 213 may be blocked from the access control application 211, the controller 202, or the gateway 203. According to one embodiment, the controller 202 is a connection control application (e.g., registration, approval, authentication, renewal, termination) to perform various operations associated with the network connection of the node 201 or the access control application 211. 211) and control data packets can be transmitted and received. The flow through which control data packets are transmitted (e.g., 220) may be referred to as a 'control flow'. According to the embodiment, the controller 202 can maintain a secure network state at all times by immediately reclaiming the channel according to a security event received from the interlocking system (e.g., node 201, gateway 203, or destination network 205). there is.

게이트웨이(203)는 노드(201)가 속하는 네트워크의 경계 또는 목적지 네트워크(205)가 속하는 네트워크의 경계에 위치할 수 있다. 일 실시예에 따르면, 게이트웨이(203)는 클라우드(cloud) 기반으로 컨트롤러(202)와 연결될 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211) 및 게이트웨이(203) 사이에서 데이터 패킷이 전송되는 흐름은 '데이터 플로우(data flow)'로 참조될 수 있다. 데이터 플로우는 노드 또는 IP 단위뿐만 아니라 보다 세부적인 단위(예: 애플리케이션)로 생성될 수 있다. The gateway 203 may be located at the border of the network to which the node 201 belongs or the border of the network to which the destination network 205 belongs. According to one embodiment, the gateway 203 may be connected to the controller 202 on a cloud basis. According to the embodiment, the flow in which data packets are transmitted between the access control application 211 and the gateway 203 may be referred to as a 'data flow'. Data flows can be created at a node or IP level, as well as at more granular units (e.g. applications).

다양한 실시예들에 따르면, 논리적 연결, 채널, 세션 등 인가된 대상만 게이트웨이와 연결이 가능한 접속성 제어 기술은, 인가되지 않은 대상은 서비스가 존재하는 네트워크(예: 보호 대상 네트워크로써 클라우드, 업무망, 제어가 필요로 한 인터넷 등)에 접속하는 것을 차단할 수 있고, 인가된 대상만 서비스로 접속이 가능하도록 제어할 수 있으며 인가된 대상을 식별함으로써 불특정 대상이 상시 연결이 가능한 기존 IP (Internet Protocol) 통신의 문제점 및 IP 주소를 기반으로 통신 대상을 식별하는 문제점을 개선할 수 있다.According to various embodiments, connectivity control technology allows only authorized entities, such as logical connections, channels, and sessions, to connect to the gateway. Existing IP (Internet Protocol) that can block access to the Internet (e.g., Internet, etc.) that requires control, can control access to the service only by authorized targets, and allows unspecified targets to connect at all times by identifying authorized targets. Problems in communication and identifying communication targets based on IP addresses can be improved.

기존 IP 통신을 기반으로 하는 서비스 프로토콜(예: HTTP, FTP 등)의 경우 서비스가 인가된 대상을 식별하거나 추가 인증 수행 또는 통신 대상의 중요 정보를 추가적으로 식별하고, 해당 정보를 유지하기 위해 서비스 요청 및 반환 정보의 헤더(예: HTTP의 경우 세션, 쿠키 등) 또는 바디(예: POST 파라메터 유지를 위한 정보, URI에 포함된 파라메터 정보 등)에 기록함으로써 노드 또는 노드와 서비스간의 통신 구간에 해당 정보가 상시 노출되어 있게 된다.In the case of service protocols based on existing IP communications (e.g. HTTP, FTP, etc.), the service identifies the authorized target, performs additional authentication, or additionally identifies important information of the communication target, and maintains that information by requesting service and By recording the return information in the header (e.g., session, cookie, etc. in the case of HTTP) or body (e.g., information for maintaining POST parameters, parameter information included in URI, etc.), the information is stored in the communication section between nodes or nodes and services. It is always exposed.

따라서, 본 문서에 개시된 실시예들에 따른 네트워크 접속 제어 기술은, 접속성 제어 기술을 적용한 노드(201)와 목적지 네트워크(205) 사이의 경계로써 존재하는 게이트웨이(203)를 기점으로 노드(201)와 게이트웨이(203) 사이는 신뢰할 수 없거나 안전하지 않은 구간(예: Credential Stuffing, Session Hijacking, Man In The Middle Attack 등의 공격이 발생할 수 밖에 없는 구간)이기 때문에 노드 식별 정보 및 중요 정보가 존재하지 않거나 최소화된 구간으로 설정할 수 있고, 게이트웨이(203)와 목적지 네트워크(205) 사이의 구간은 신뢰할 수 있는 구간(예: 제 3자가 개입하여 신뢰할 수 없거나 안전하지 않은 구간에서 발생될 수 있는 각종 취약점이 존재하지 않거나 최소화된 구간)으로 논리적으로 분리할 수 있다.Therefore, the network access control technology according to the embodiments disclosed in this document starts from the gateway 203 that exists as a boundary between the node 201 to which the connectivity control technology is applied and the destination network 205. Since the area between the gateway 203 and the gateway 203 is an unreliable or unsafe section (e.g., a section where attacks such as Credential Stuffing, Session Hijacking, Man In The Middle Attack, etc. inevitably occur), node identification information and important information do not exist. It can be set to a minimized section, and the section between the gateway 203 and the destination network 205 is a trusted section (e.g., there are various vulnerabilities that can occur in an unreliable or unsafe section due to the intervention of a third party) It can be logically separated into (non-existent or minimized) sections.

즉, 논리적으로 분리된 경계를 기점으로 게이트웨이(203)는 노드(201)와 게이트웨이(203) 구간 사이에서 발생할 수 있는 공격 및 취약한 정보가 존재하지 않게 하거나 최소화된 상태에서 서비스 요청 및 요청 반환을 처리하는 구조를 제공할 수 있고, 게이트웨이(203)와 목적지 네트워크(205)의 구간에만 노드(201)의 식별 정보 및 중요 정보가 존재할 수 있도록 함으로써 기존 IP 통신을 기반으로 서비스 프로토콜이 내재하고 있는 취약점을 해결하고, 목적지 네트워크에 포함되는 서비스가 상시 안전하고 신뢰할 수 있는 인가된 대상과 통신할 수 있도록 처리할 수 있다. That is, starting from the logically separated boundary, the gateway 203 processes service requests and request returns while preventing or minimizing attacks and vulnerable information that may occur between the node 201 and the gateway 203 section. It is possible to provide a structure that allows the identification information and important information of the node 201 to exist only in the section between the gateway 203 and the destination network 205, thereby eliminating the vulnerabilities inherent in the service protocol based on existing IP communication. It can be resolved and processed so that services included in the destination network can always communicate with safe and reliable authorized targets.

다양한 실시예들에 따르면, 노드(201)는 노드(201) 내에 저장된 타겟 애플리케이션(212, 213)의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 노드(201)에 포함된 타겟 애플리케이션(212, 213)의 목적지 네트워크(205)에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(211)은 타겟 애플리케이션(212, 213)의 접속 가능 여부를 결정할 수 있다. 타겟 애플리케이션(212, 213)이 접속 가능하면, 접속 제어 애플리케이션(211)은 데이터 패킷을 게이트웨이(203)로 전송할 수 있다. 접속 제어 애플리케이션(211)은 노드(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the node 201 may include a connection control application 211 and a network driver (not shown) for managing network connections of target applications 212 and 213 stored in the node 201. . For example, when a connection event to the destination network 205 of the target applications 212 and 213 included in the node 201 occurs, the connection control application 211 determines whether the target applications 212 and 213 can be connected. can be decided. If the target applications 212 and 213 are accessible, the connection control application 211 may transmit a data packet to the gateway 203. The access control application 211 can control the transmission of data packets within the node 201 through a kernel including an operating system and a network driver.

실시예에 따르면, 목적지 네트워크(205)는 서비스 서버로도 참조될 수 있다. According to embodiments, destination network 205 may also be referred to as a service server.

도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다. 3 is a functional block diagram showing a database stored in a controller according to various embodiments. Although FIG. 3 shows only the memory 330, the controller includes a communication circuit for performing communication with an external electronic device (e.g., the communication circuit 430 in FIG. 4) and a processor for controlling the overall operation of the controller (e.g., FIG. It may further include 4 processors 410).

관리자는 컨트롤러(202)에 접속하여 접속 제어 애플리케이션(211)과 목적지 네트워크(205) 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. The administrator can access the controller 202 and set a connection-oriented policy to control the connection between the access control application 211 and the destination network 205, so network access is more detailed and safer than managing sessions at the service level. can be controlled.

접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 식별된 네트워크(예: 노드(201)가 속하는 네트워크), 노드, 사용자(예: 노드(201)의 사용자), 및/또는 애플리케이션(예: 노드(201)에 포함되는 타겟 애플리케이션(212)이 목적지 네트워크(205)에 접속이 가능한지 여부를 결정할 수 있다. 실시예에 따르면, 컨트롤러(202)는 접속 정책 데이터 베이스(311)에 기반하여 특정 서비스(예: IP 및 포트)로 접속 가능한 타겟 애플리케이션(212)의 화이트리스트를 생성할 수 있다. The connection policy database 311 may include information about networks and/or services to which an identified network, node, or application can access. For example, when the access control application 211 requests network access, the controller 202 identifies the network (e.g., the network to which the node 201 belongs), the node, It may be determined whether a user (e.g., a user of node 201) and/or an application (e.g., target application 212 included in node 201) can access the destination network 205. In the embodiment, Accordingly, the controller 202 may create a whitelist of target applications 212 that can be accessed through a specific service (eg, IP and port) based on the access policy database 311.

채널 및 세션 정책 데이터베이스(312)는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(예: 도 2의 목적지 네트워크(205))의 사이에 존재하는 게이트웨이(예: 도 2의 게이트웨이(203)) 정보를 포함할 수 있다. 실시예에 따르면, 채널 및 세션 정책 데이터베이스(312)는 노드(201)와 게이트웨이(203) 사이에 채널을 생성하기 위한 일련의 정보(예: 터널링 생성을 위한 인증 및 일련의 정보), 노드(201)와 게이트웨이(203) 사이에 논리적 연결을 인증하기 위한 일련의 정보(예: 프로토콜에 따라 인증 정보 생성 및 검사 방법 및 일련의 정보), 노드(201)와 게이트웨이(203) 사이에 세션을 생성하기 위한 일련의 정보(예: 보안 세션 생성을 위한 인증서 및 일련의 정보) 또는 노드(201)와 게이트웨이(203) 사이에 자체적인 세션이 생성되는 경우 인가된 세션이 아닌 경우 세션을 제거하기 위한 방식 중 적어도 어느 하나를 포함할 수 있다. 즉, 채널 및 세션 정책 데이터베이스(312)는 노드(201) 또는 통신 대상이 인가되었는지 여부를 확인하고 접속성 제어에 필요로 한 일련의 정보 및 정책을 포함할 수 있다.The channel and session policy database 312 contains information about a gateway (e.g., gateway 203 in FIG. 2) that exists between a service server (e.g., destination network 205 in FIG. 2) on a connection path according to a policy. may include. According to an embodiment, the channel and session policy database 312 contains a set of information for creating a channel between the node 201 and the gateway 203 (e.g., authentication and a set of information for creating tunneling), the node 201 ) and a series of information for authenticating the logical connection between the gateway 203 (e.g., authentication information generation and inspection method and series of information according to the protocol), and creating a session between the node 201 and the gateway 203. A set of information (e.g., a certificate and a set of information for creating a secure session) or a method for removing a session if it is not an authorized session when an own session is created between the node 201 and the gateway 203. It can include at least one of them. That is, the channel and session policy database 312 may check whether the node 201 or a communication target is authorized and include a series of information and policies required for connectivity control.

블랙리스트 정책 데이터 베이스(313)는 노드(201) 또는 게이트웨이(203)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. 또한, 블랙리스트 정책 데이터베이스(313)는 애플리케이션 검사 결과에 따라 애플리케이션의 위험 수준을 판단하고 위험 수준에 따라 일시적 또는 영구적 격리 여부를 판단하기 위한 정보로 사용될 수 있다. The blacklist policy database 313 is a target (e.g., node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID). Additionally, the blacklist policy database 313 can be used as information to determine the risk level of an application according to the application inspection results and whether to temporarily or permanently isolate it depending on the risk level.

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청하는 노드(201)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되면 네트워크 접속 요청을 거부함으로써 노드(201)를 격리시킬 수 있다. The blacklist database 314 may include a list of targets blocked by the blacklist policy database 313. For example, if the identification information of the node 201 requesting network access is included in the blacklist database 314, the controller 202 may isolate the node 201 by rejecting the network access request.

제어 플로우 테이블(315)은 노드(201)와 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러(202)에 접속하는 경우, 제어 플로우 정보는 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 포함할 수 있다. 예를 들어, 노드(201)로부터 목적지 네트워크(205)에 대한 접속이 요청되면 컨트롤러(202)는 노드(201)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로서 노드(201)가 목적지 네트워크(205)에 접속이 가능한지 여부, 데이터 패킷 전송을 위한 데이터 플로우 생성 여부를 판단(결정)할 수 있다. The control flow table 315 is an example of a session table for managing the flow (eg, control flow) of control data packets generated between the node 201 and the controller 202. When successfully connecting to the controller 202, control flow information may be generated by the controller 202. The control flow information may include at least one of control flow identification information, an IP address identified when connecting to and authenticating the controller, a node ID, or a user ID. For example, when connection to the destination network 205 is requested from the node 201, the controller 202 can retrieve control flow information through the control flow identification information received from the node 201, and the retrieved control flow Whether the node 201 can connect to the destination network 205 by mapping at least one of the IP address, node ID, or user ID included in the information to the connection policy database 311, data flow for data packet transmission You can determine (decide) whether to create it or not.

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 노드(201)는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 노드(201)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러(202)는 노드(201)의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 노드(201)의 접속이 차단될 수 있다. According to one embodiment, a control flow may have an expiration time. The node 201 must update the expiration time of the control flow, and if the expiration time is not updated within a certain period of time, the control flow (or control flow information) may be removed. Additionally, if it is determined that immediate connection blocking is necessary according to security events collected from the node 201, the controller 202 may remove the control flow according to the node 201's connection termination request. When the control flow is removed, the previously created data flow is also removed, so the connection to the node 201 may be blocked.

데이터 플로우 테이블(316)은 노드(201)와 게이트웨이(203), 및 목적지 네트워크(205) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 TCP 세션, 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(316)은 데이터 플로우를 식별하기 위한 데이터 플로우 ID, 전송 주체에 부여된 제어 플로우 ID로 종속된 데이터 플로우를 관리할 수 있다. The data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between the node 201, the gateway 203, and the destination network 205. Data flows can be created by TCP sessions, applications, or more granular units. The data flow table 316 can manage dependent data flows using a data flow ID for identifying the data flow and a control flow ID assigned to the transmitting subject.

실시예에 따르면, 데이터 플로우 테이블(316)은 노드(201) 또는 하나 이상의 식별 정보 및 애플리케이션이 하나 이상의 게이트웨이(203)와 연결되기 위해 처리해야 할 접속성 제어 종류에 대응되는 각각의 처리 정보(예: 논리적 연결 인증 정보 또는 세션 생성 또는 확인 정보), 게이트웨이(203)가 인가된 노드(201)임을 식별하기 위한 접속성 제어 정보(예: 논리적 연결 인증 기반 접속, 인가된 채널 또는 세션 기반 접속 여부 및 이를 식별하기 위한 정보, 상태 정보), 채널 및 세션 정보와 이를 기반으로 인가된 대상의 데이터 패킷 및 서비스 요청의 도착지 IP, 서비스 포트, 서비스 도메인 정보를 기반으로 포워딩 여부를 판단하기 위한 인가된 대상 정보, 해당 데이터 플로우가 유효한지 여부를 포함하는 상태 정보를 포함할 수 있다. According to an embodiment, the data flow table 316 contains each processing information (e.g. : logical connection authentication information or session creation or confirmation information), connectivity control information to identify the gateway 203 as an authorized node 201 (e.g., whether logical connection authentication-based access, authorized channel or session-based access, and Information to identify this, status information), channel and session information, and data packets of the authorized target based on this, and information on the authorized target to determine whether to forward based on the destination IP, service port, and service domain information of the service request. , may include status information including whether the corresponding data flow is valid.

실시예에 따르면, 데이터 플로우 테이블(316)은 인증 정보를 포함할 수 있다. 예를 들어, 데이터 플로우 테이블(316)은 노드(201)가 서비스에 접속하기 위해 추가 인증을 수행해야 하는지 여부에 관련된 정보, 서비스 제공자가 사전에 설정한 정보로써 게이트웨이(203)를 통해서 삽입할 인가된 대상의 보호 정보(예: 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 서비스 정책 데이터베이스(317)에 기반하여 생성될 수 있고, 서비스에 접속하기 위해 추가 인증을 수행해야하는지 여부에 관련된 정보는 인증 정책 데이터베이스(319)에 기반하여 생성될 수 있다. According to an embodiment, the data flow table 316 may include authentication information. For example, the data flow table 316 contains information related to whether additional authentication must be performed for the node 201 to access the service, information previously set by the service provider, and authorization to be inserted through the gateway 203. It may include information that cannot be identified through general service protocols, such as the node's operating system and device type, user identification information, security compliance compliance information, and a series of information received from the authentication server. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. Information that determines whether to insert) may be included. For example, protection information of authorized subjects may be generated based on the service policy database 317, and information related to whether additional authentication must be performed to access the service may be generated based on the authentication policy database 319. It can be.

실시예에 따르면, 데이터 플로우 테이블(316)은 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부, 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보를 더 포함할 수 있다. 실시예에 따르면, 보호 정보는 서비스 정책 데이터베이스(317)에 기반하여 생성될 수 있다. According to the embodiment, when the service server returns a service request result to the node 201, the data flow table 316 stores protection information to be removed and returned from the gateway 203, and protection information to be removed and returned from the gateway 203 ( Whether to update or store in the data flow of 203), if a service request exists in the node 201, which of the protection information was stored or updated in the data flow among the protection information removed from the gateway 203 when the service result is returned Protected information to be reinserted, when connecting to a service, check whether authentication is required through the gateway 203 and redirect to the authentication server, or when the service server redirects a service request to the authentication server, between two mutually different domains identified during the authentication process. It may further include protection information to be shared or protected, protection information token generation method, and algorithm information. According to an embodiment, protection information may be generated based on the service policy database 317.

실시예에 따르면, 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. According to an embodiment, the protection information token may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. The data flow table 316 can be managed based on control flow ID.

실시예에 따르면, 데이터 플로우 테이블(316)은 노드(201), 게이트웨이(203)에 동일하게 저장될 수 있다. According to the embodiment, the data flow table 316 may be stored equally in the node 201 and the gateway 203.

서비스 정책 데이터베이스(317)는 접속 정책(311)에 따라서 접속 대상이 프록시를 통해서 접속할 수 있는 도착지 IP 와 포트 정보, 서비스 도메인 정보, 프로토콜 정보(예: HTTP, FTP, IoT 전용 프로토콜) 및 서비스 제공자가 사전에 설정한 정보로서 게이트웨이(203)를 통해서 삽입할 인가된 대상의 보호 정보를 포함할 수 있다. 실시예에 따르면, 인가된 대상의 보호 정보는 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보를 더 포함할 수 있다. The service policy database 317 contains destination IP and port information, service domain information, protocol information (e.g. HTTP, FTP, IoT-specific protocols), and service providers that the connection target can access through the proxy according to the connection policy 311. This pre-set information may include protection information of an authorized target to be inserted through the gateway 203. According to an embodiment, the protection information of the authorized target may include information that cannot be identified through general service protocols, such as the node's operating system and device type, user identification information, security compliance compliance information, and a series of information received from the authentication server. You can. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. It may further include information that determines whether to insert.

실시예에 따르면, 서비스 정책 데이터베이스(317)는 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부를 포함할 수 있다. 또한, 서비스 정책 데이터베이스(317)는 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보를 더 포함할 수 있다. 실시예에 따르면, 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. According to the embodiment, when the service server returns a service request result to the node 201, the service policy database 317 stores protection information to be removed and returned from the gateway 203, and protection information to be removed and returned from the gateway 203 ( 203) may include whether it needs to be updated or stored in the data flow. In addition, when a service request exists from the node 201, the service policy database 317 determines which of the protection information that was stored or updated in the data flow among the protection information removed from the gateway 203 when the service result is returned must be reinserted. Protected information, when accessing a service, checks whether authentication is required through the gateway 203 and redirects to the authentication server, or when the service server redirects a service request to the authentication server, it is shared or protected between two mutually different domains identified during the authentication process. It may further include protection information to be provided, protection information token generation method, and algorithm information. According to an embodiment, the protection information token may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

채널 및 세션 테이블(318)은 노드(201), 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션(212, 213)과 게이트웨이(203)간 생성된 채널 또는 세션을 관리하기 위한 테이블일 수 있다. 예를 들어, 노드(201), 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션(212, 213)과 게이트웨이(203)간 채널 또는 세션이 생성되면, 생성된 채널 또는 세션에 관련된 정보가 채널 및 세션 테이블(318)에 갱신될 수 있다. 다른 예를 들어, 노드(201), 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션(212, 213)과 게이트웨이(203)간 채널 또는 세션이 제거되면, 제거된 채널 또는 세션에 관련된 정보가 채널 및 세션 테이블(318)에 갱신될 수 있다.The channel and session table 318 may be a table for managing channels or sessions created between the node 201, the access control application 211, or the target applications 212 and 213 and the gateway 203. For example, when a channel or session is created between the node 201, the access control application 211 or the target application 212, 213 and the gateway 203, information related to the created channel or session is stored in the channel and session table ( 318). For another example, when a channel or session between the node 201, the access control application 211 or the target application 212, 213 and the gateway 203 is removed, information related to the removed channel or session is stored in the channel and session table. It can be updated at (318).

인증 정책 데이터베이스(319)는 접속 정책(311)에 따라서 노드의 식별, 사용자의 식별 또는 서비스 접속 시점에 식별된 대상이 컨트롤러(202) 이외의 인증 서버(예: OAuth, SAML, LDAP, Active Directory 등의 인증 관련 기술 등)에 추가 인증을 수행해야 하는지 확인하기 위한 정보를 포함할 수 있다. 실시예에 따르면, 인증 정책 데이트베이스(319)는 추가 인증을 수행해야 하는 경우 인증서버 및 인증방식 등 일련의 정보를 포함할 수 있다. The authentication policy database 319 uses the connection policy 311 to identify the node, identify the user, or identify the target identified at the time of service access to an authentication server other than the controller 202 (e.g., OAuth, SAML, LDAP, Active Directory, etc.). (certification-related technologies, etc.) may include information to determine whether additional authentication needs to be performed. According to an embodiment, the authentication policy database 319 may include a series of information such as an authentication server and authentication method when additional authentication must be performed.

도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a node according to various embodiments.

도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. Referring to FIG. 4 , a node may include a processor 410, memory 420, and communication circuit 430. According to one embodiment, the node may further include a display 440 to interface with the user.

프로세서(410)는 노드의 전반적인 동작을 제어할 수 있다. 다양한 실시 예들에서, 프로세서(410)는 하나의 프로세서 코어(single core)를 포함하거나, 복수의 프로세서 코어들을 포함할 수 있다. 예를 들면, 프로세서(410)는 듀얼 코어(dual-core), 쿼드 코어(quad-core), 헥사 코어(hexa-core) 등의 멀티 코어(multi-core)를 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 내부 또는 외부에 위치된 캐시 메모리(cache memory)를 더 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 하나 이상의 프로세서들로 구성될(configured with) 수 있다. 예를 들면, 프로세서(410)는, 애플리케이션 프로세서(application processor), 통신 프로세서(communication processor), 또는 GPU(graphical processing unit) 중 적어도 하나를 포함할 수 있다. The processor 410 can control the overall operation of the node. In various embodiments, the processor 410 may include one processor core (single core) or may include a plurality of processor cores. For example, the processor 410 may include multi-core, such as dual-core, quad-core, or hexa-core. Depending on embodiments, the processor 410 may further include a cache memory located internally or externally. Depending on embodiments, the processor 410 may be configured with one or more processors. For example, the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).

프로세서(410)의 전부 또는 일부는 노드 내의 다른 구성 요소(예를 들면, 메모리(420), 통신 회로(430), 또는 디스플레이(440))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(410)는 노드의 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(410)는 메모리(420), 통신 회로(430), 또는 디스플레이(440)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(410)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기반하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(410)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(420), 통신 회로(430), 또는 디스플레이(440)에게 제공할 수 있다. All or a portion of processor 410 is electrically or operatively coupled to other components within the node (e.g., memory 420, communication circuitry 430, or display 440). It can be (coupled with) or connected to. The processor 410 may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process messages, data, commands, or signals received from the memory 420, the communication circuit 430, or the display 440. Processor 410 may generate new messages, data, instructions, or signals based on received messages, data, instructions, or signals. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420, communication circuit 430, or display 440.

프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 can process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals to the memory 420 in order to execute or control a program.

메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션(application) 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다. The memory 420 may store commands for controlling nodes, control command codes, control data, or user data. For example, the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver.

메모리(420)는 휘발성 메모리(volatile memory) 또는 불휘발성(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. Memory 420 may include one or more of volatile memory or non-volatile memory. Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). It can be included. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.

메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 uses non-volatile media such as a hard disk drive (HDD), solid state disk (SSD), embedded multi media card (eMMC), and universal flash storage (UFS). More may be included.

일 실시예에 따르면, 메모리(420)는 도 2의 타겟 애플리케이션(212, 213) 및 접속 제어 애플리케이션(211)을 저장할 수 있다. 접속 제어 애플리케이션(211)은 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 접속 제어 애플리케이션(211)은 하나 이상의 보안 모듈을 포함할 수 있다. According to one embodiment, the memory 420 may store the target applications 212 and 213 and the access control application 211 of FIG. 2 . The connection control application 211 may perform control flow creation and update functions with the controller 202. To this end, the access control application 211 may include one or more security modules.

일 실시예에 따르면, 메모리(420)는 컨트롤러의 메모리(예: 도 3의 메모리(330))에 포함된 정보 중 일부를 저장할 수 있다. 예를 들어, 메모리(420)는 도 3에서 설명된 데이터 플로우 테이블(316)을 저장할 수 있다. According to one embodiment, the memory 420 may store some of the information included in the controller's memory (eg, memory 330 in FIG. 3). For example, memory 420 may store data flow table 316 described in FIG. 3 .

통신 회로(430)는 노드와 외부 전자 장치(예: 도 2의 컨트롤러(202), 게이트웨이(203) 또는 목적지 네트워크(205))간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(430)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. Communication circuitry 430 establishes a wired or wireless communication connection between a node and an external electronic device (e.g., controller 202, gateway 203, or destination network 205 of Figure 2) and performs communication over the established connection. can support. According to one embodiment, the communication circuit 430 may be a wireless communication circuit (e.g., a cellular communication circuit, a short-range wireless communication circuit, or a global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (e.g., a local area network (LAN) ) communication circuit, or power line communication circuit), and using the corresponding communication circuit, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a long-distance communication such as a cellular network, the Internet, or a computer network It can communicate with external electronic devices through a network. The various types of communication circuits 430 described above may be implemented as one chip or may be implemented as separate chips.

디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 can output content, data, or signals. In various embodiments, the display 440 may display image data processed by the processor 410. Depending on embodiments, the display 440 may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving touch input, etc. When the display 440 is configured as a touch screen, a plurality of touch sensors may be placed above the display 440 or below the display 440.

일 실시예에 따른 서버(예: 컨트롤러)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.A server (eg, controller) according to one embodiment may include a processor 410, memory 420, and communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.

일 실시예에 따른 게이트웨이(예: 도 2의 게이트웨이(203))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 게이트웨이에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다. A gateway (eg, gateway 203 in FIG. 2) according to an embodiment may include a processor 410, a memory 420, and a communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.

도 5는 다양한 실시예들에 따른 서비스 요청 정보 포워딩시 인가된 대상의 보호 정보 삽입 구조의 예시를 도시한다.Figure 5 shows an example of a structure for inserting protection information of an authorized target when forwarding service request information according to various embodiments.

도 5를 참조하면, HTTP 기반 서비스 요청 정보(505)는 HTTP 헤더(510) 및 HTTP 바디(530)를 포함할 수 있다. Referring to FIG. 5, HTTP-based service request information 505 may include an HTTP header 510 and an HTTP body 530.

실시예에 따르면, HTTP 헤더(510)는 게이트웨이에서 추가한 HTTP 헤더(515)를 포함할 수 있고, 게이트웨이(203)에서 추가한 HTTP 헤더(515)에는 데이터 플로우 헤더(520) 및 인가된 대상의 보호 정보(525)가 포함될 수 있다. 즉, 게이트웨이(203)는 HTTP 헤더(510)에 데이터 플로우 헤더(520) 및 인가된 대상의 보호 정보(525)를 추가하여 목적지 네트워크(205)에 존재하는 서비스 서버가 HTTP 헤더(510)를 통해 인가된 대상의 요청인지 여부를 식별할 수 있도록 할 수 있다. According to the embodiment, the HTTP header 510 may include the HTTP header 515 added by the gateway, and the HTTP header 515 added by the gateway 203 includes the data flow header 520 and the authorized target. Protected information 525 may be included. That is, the gateway 203 adds the data flow header 520 and the protection information 525 of the authorized target to the HTTP header 510 so that the service server existing in the destination network 205 can use the HTTP header 510. It is possible to identify whether the request is from an authorized target.

실시예에 따르면 HTTP 바디(530)는 게이트웨이(203)에서 추가한 HTTP 바디(535)를 포함할 수 있고, 게이트웨이(203)에서 추가한 HTTP 바디(535)는 인가된 대상의 보호 정보(540)를 포함할 수 있다. 즉, 게이트웨이(203)는 HTTP 바디(530)에 인가된 대상의 보호 정보(540)를 삽입 또는 추가할 수 있다. According to the embodiment, the HTTP body 530 may include an HTTP body 535 added by the gateway 203, and the HTTP body 535 added by the gateway 203 includes protection information 540 of the authorized target. may include. That is, the gateway 203 may insert or add the protection information 540 of the authorized target to the HTTP body 530.

실시예에 따르면, 게이트웨이(203)는 토큰 정보(예: 인가된 대상의 보호 정보 토큰(560))에 기반하여 탐색된 인가된 대상의 보호 정보(예: 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보, 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부, 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보)에 따라서 서비스 프로토콜에 적합한 부분(예: HTTP의 경우 헤더 및 바디 영역)에 서비스 서버에서 식별 및 처리할 수 있는 일련의 정보를 삽입하여 서비스 서버로 재전송하고, 서비스 요청에 대한 서비스 서버의 응답값을 노드로 반환하는 역할을 수행할 수 있다. According to an embodiment, the gateway 203 detects the authorized object's protected information (e.g., the node's operating system and device type, user identification information) based on the token information (e.g., the authorized object's protected information token 560). , information that cannot be identified through general service protocols, such as security compliance compliance information and a series of information received from the authentication server. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. Information to determine whether to insert, protection information to be removed and returned from the gateway 203 when the service server returns a service request result to the node 201, protection information to be removed and returned to the data of the gateway 203 Whether it needs to be updated or stored in the flow, if a service request exists at the node 201, and when the service result is returned, which of the protection information removed from the gateway 203 should be reinserted among the protection information stored or updated in the data flow When accessing information and services, whether authentication is required is checked through the gateway 203 and redirected to the authentication server, or when the service server redirects a service request to the authentication server, information that needs to be shared or protected between two mutually different domains identified during the authentication process. Inserts a series of information that can be identified and processed by the service server into parts appropriate for the service protocol (e.g., header and body area for HTTP) according to the protection information, protection information token generation method, and algorithm information and retransmits it to the service server. It can perform the role of returning the service server's response value to the service request to the node.

실시예에 따르면, 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. According to an embodiment, the protection information token may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

실시예에 따르면, 게이트웨이(203)는 서비스 요청 정보를 포워딩한 이후 수신된 서비스 요청 결과(역방향)에 상기와 같은 인가된 대상의 보호 정보가 포함되어 있는 경우, 노드(201)가 해당 정보를 수신할 수 없도록 불필요로 한 보호 정보를 제거하며, 노드(201)가 서비스 요청시 제거된 보호 정보를 게이트웨이(203)에서 다시 삽입하여 전송할 수 있도록 제거 대상 정보 중 재전송이 필요로 한 정보를 서비스 요청 및 결과 반환이 연속되는 일련의 흐름에 따라 지속적으로 처리할 수 있도록 발행된 토큰 정보에 대응되도록 게이트웨이(203)의 데이터 플로우에 갱신 및 저장 처리 후, 토큰 정보를 삽입하여 서비스 요청 결과를 포워딩함으로써 서비스 서버가 노드(201)와 유지하기 위한 중요 정보를 보호할 수 있다.According to the embodiment, if the service request result (reverse direction) received after forwarding the service request information includes the protection information of the authorized target as described above, the node 201 receives the information. Unnecessary protection information is removed so that the node 201 can re-insert and transmit the removed protection information in the gateway 203 when requesting a service. After updating and storing the data flow of the gateway 203 to correspond to the issued token information so that the result return can be continuously processed in a continuous series of flows, token information is inserted and the service request result is forwarded to the service server. It is possible to protect important information to be maintained with the node 201.

즉, 본 문서에 개시된 실시예들에 따른 게이트웨이(203)는 노드(201)가 인가된 대상의 보호 정보를 전송하거나 수신할 수 없도록 제어함으로서 게이트웨이(203) 또는 서비스 서버에서 인가되지 않은 대상의 서비스 요청을 차단하도록 구성될 수 있다. That is, the gateway 203 according to the embodiments disclosed in this document controls the node 201 so that it cannot transmit or receive protected information of an authorized target, thereby providing service to an unauthorized target from the gateway 203 or the service server. Can be configured to block requests.

또한, 노드(201)에서 전송하는 HTTP 기반 서비스 요청 정보(545)는 HTTP 헤더(550)를 포함할 수 있다. 게이트웨이(203)는 HTTP 헤더(550)에 포함된 게이트웨이에서 추가한 HTTP 헤더(555)에 인가된 대상의 보호 정보 토큰(560)이 존재하는지 여부를 확인할 수 있다. 게이트웨이(203)에 포함된 프록시는 인가된 접속성 제어 요소에 의한 서비스 요청을 수신하는 경우, 데이터 플로우 테이블을 통해서 접속 대상 및 해당 접속 대상이 요청하는 서비스를 식별하고, 서비스 요청 정보에 인가된 대상의 보호 정보 토큰으로 데이터 플로우에 포함된 인가된 대상의 보호 정보 토큰과 동일한 정보가 존재하는지 확인할 수 있다. 즉, 게이트웨이(203)는 인가된 대상의 보호 정보 토큰에 기반하여 데이터 플로우를 식별할 수 있고, 보호 정보 토큰에 대응되는 보호 정보를 식별하여 이후 서비스 서버로 서비스 요청을 포워딩하는 경우 보호 정보를 삽입하여 포워딩할 수 있다. Additionally, the HTTP-based service request information 545 transmitted from the node 201 may include an HTTP header 550. The gateway 203 may check whether the protection information token 560 of the authorized target exists in the HTTP header 555 added by the gateway included in the HTTP header 550. When receiving a service request by an authorized connectivity control element, the proxy included in the gateway 203 identifies the connection target and the service requested by the connection target through the data flow table, and identifies the authorized target in the service request information. With the protected information token, it can be confirmed whether the same information as the protected information token of the authorized target included in the data flow exists. That is, the gateway 203 can identify the data flow based on the protection information token of the authorized target, identify protection information corresponding to the protection information token, and then insert the protection information when forwarding the service request to the service server. You can forward it.

도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 6 shows a signal flow diagram for controller connection according to various embodiments.

노드(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 노드(201)의 컨트롤러 접속을 시도할 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 노드(201)와 실질적으로 동일할 수 있다. Since the node 201 needs to be authorized by the controller 202 to connect to or receive the network, the access control application 211 of the node 201 requests the controller 202 to create a control flow, thereby establishing the node ( 201), you can try to connect to the controller. According to the embodiment, the node 201 may be substantially the same as the node 201 of FIG. 2 on which the access control application 211 is installed.

도 6을 참조하면, 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201) 내에서 접속 제어 애플리케이션(211)이 설치 및 실행되면, 노드(201)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 6, node 201 can detect a controller connection event. For example, when the access control application 211 is installed and executed within the node 201, the node 201 may detect that a connection to the controller 202 is requested.

동작 605에서, 노드(201)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 제어 애플리케이션(211)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. In operation 605, node 201 may request controller connection to controller 202. For example, the access control application 211 may transmit identification information of the access control application 211 to the controller 202.

동작 610에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(211) 또는 노드(201))의 접속 가능 여부를 확인(identify)할 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201)로부터 수신된 정보가 접속 정책 데이터 베이스(311)에 포함되는지 여부 또는, 노드(201), 노드(201)가 속한 네트워크, 및/또는 접속 제어 애플리케이션(211)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되는지 여부 중 적어도 하나에 기반하여 컨트롤러 접속을 요청한 대상의 접속 가능 여부를 확인할 수 있다. In operation 610, the controller 202 may identify whether the object requesting controller connection (e.g., the access control application 211 or the node 201) can be connected. According to one embodiment, the controller 202 determines whether information received from the node 201 is included in the connection policy database 311 or determines whether the node 201, the network to which the node 201 belongs, and/or the connection It is possible to check whether the object requesting controller access can be connected based on at least one of whether the identification information of the control application 211 is included in the blacklist database 314.

접속이 가능하다면, 동작 615에서, 컨트롤러(202)는 식별된 노드(201)가 컨트롤러(202) 이외의 인증 서버(207, 예: OAuth, SAML, LDAP, Active Directory 등의 인증 관련 기술)를 통해 추가 인증을 수행하는지 여부를 인증 정책(319)에 기반하여 확인할 수 있다. 실시예에 따르면, 추가 인증을 수행할 필요가 없는 경우, 컨트롤러(202)는 동작 625를 수행할 수 있다. 실시예에 따르면, 추가 인증을 수행해야 하는 경우, 컨트롤러(202)는 식별된 정보 및 인증 정책(319)에 설정된 정보에 기반하여 인증 서버(207)에 인증을 요청하고 인증 결과를 수신할 수 있다(동작 620). 실시예에 따르면, 인증 서버(207)로부터 인증 불가 결과를 수신하는 경우, 컨트롤러(202)는 노드(201)에게 접속 불가 정보를 전송할 수 있다(동작 635). If connection is possible, in operation 615, the controller 202 allows the identified node 201 to authenticate through an authentication server 207 (e.g., authentication-related technology such as OAuth, SAML, LDAP, Active Directory, etc.) other than the controller 202. Whether additional authentication is performed can be checked based on the authentication policy 319. According to an embodiment, if there is no need to perform additional authentication, the controller 202 may perform operation 625. According to the embodiment, when additional authentication needs to be performed, the controller 202 may request authentication from the authentication server 207 based on the identified information and information set in the authentication policy 319 and receive the authentication result. (Action 620). According to the embodiment, when receiving an authentication inaccessibility result from the authentication server 207, the controller 202 may transmit connection inability information to the node 201 (operation 635).

인증 서버(207)로부터 인증 완료 정보를 수신한 경우, 컨트롤러(202)는 인증 서버(207)로부터 수신한 인증 관련 정보(예: 서비스가 인증서버를 통해서 노드의 인증 정보를 확인하고 관련된 권한 정보를 수신하거나 보호 정보를 수신하기 위한 인증 토큰 등, 해당 노드의 인증 관련 정보를 확인하기 위한 일련의 정보)를 저장할 수 있다. When authentication completion information is received from the authentication server 207, the controller 202 uses authentication-related information received from the authentication server 207 (e.g., the service verifies the authentication information of the node through the authentication server and provides related authorization information). A set of information to confirm the authentication-related information of the node, such as an authentication token for receiving or receiving protected information) can be stored.

인증이 완료되거나, 추가 인증이 필요하지 않은 경우, 동작 625에서, 컨트롤러(202)는 노드(201)(또는 접속 제어 애플리케이션(211))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(201), 노드(201)가 속한 네트워크, 또는 접속 제어 애플리케이션(211) 중 적어도 하나의 식별 정보를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If authentication is complete or no additional authentication is required, in operation 625, the controller 202 may create a control flow between the node 201 (or access control application 211) and the controller 202. In this case, the controller 202 generates control flow identification information in the form of a random number and stores the identification information of at least one of the node 201, the network to which the node 201 belongs, or the access control application 211 in the control flow table ( 315). The information stored in the control flow table 315 may be used for user authentication of the node 201, update of information of the node 201, confirmation of policy for network connection of the node 201, and/or validation.

동작 630에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 채널 정책 데이터 베이스(312)에 기반하여 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 실시예에 따르면, 컨트롤러(202)는 식별된 정보, 접속 정책 데이터베이스(311) 및 채널 및 세션 정책 데이터베이스(312)에 기반하여, 현재 접속 요청한 노드(201)가 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 635에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 630, the controller 202 based on the access policy database 311 and the channel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs). You can create whitelist information of accessible applications. According to the embodiment, the controller 202 provides destination network information to which the current connection requesting node 201 can basically connect based on the identified information, the connection policy database 311, and the channel and session policy database 312. You can check if it exists. In one embodiment, the controller 202 may transmit the application white list to the connection control application 211 in operation 635.

접속이 가능한 경우, 컨트롤러(202)는 노드(201)가 연결될 수 있는 채널 종류 및 게이트웨이를 목록화할 수 있다. 예를 들어, 컨트롤러(202)는 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(201)의 종류, 위치 정보, 환경 및 노드(201)가 포함되어 있는 네트워크 정보, 컨트롤러(202)를 통해 식별된 노드(201)의 식별 정보(예: IP 정보) 및 노드(201)에서 식별된 노드(201)의 식별 정보 중 적어도 어느 하나 또는 둘 이상의 조합에 기반하여 노드(201)가 연결할 수 있는 채널 종류와 게이트웨이를 목록화할 수 있다. If connectivity is available, the controller 202 can list the channel types and gateways to which the node 201 can be connected. For example, in order for the node 201 to connect to the destination network, the controller 202 may use the type, location information, environment, and network information of the node 201 included in the control flow, and the controller ( The node 201 is based on at least one or a combination of two or more of the identification information (e.g., IP information) of the node 201 identified through 202) and the identification information of the node 201 identified through the node 201. You can list the channel types and gateways that can be connected.

컨트롤러(202)는 목록화된 게이트웨이의 상태(예: 처리량, 장애 여부)를 확인할 수 있고, 목록화된 게이트웨이 중에서 노드(201)에 최적화된 채널 및 게이트웨이(203)를 식별할 수 있다. 예를 들어, 컨트롤러(202)는 채널 및 게이트웨이(203)를 한 개 식별할 수 있다. 실시예에 따르면, 노드(201)에 접속 가능한 채널 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)는 노드(201)가 채널을 생성하기 위한 게이트웨이(203) 및 채널 인증 정보 등의 채널 생성 정보를 노드(201)로 전송할 수 있다(동작 635). 실시예에 따르면, 채널은 터널, 세션 중 적어도 어느 하나를 포함할 수 있다. The controller 202 can check the status (e.g., throughput, failure status) of the listed gateways, and identify the channel and gateway 203 optimized for the node 201 among the listed gateways. For example, the controller 202 may identify one channel and one gateway 203. According to the embodiment, when there is a channel and a gateway 203 accessible to the node 201, the controller 202 creates a channel such as a gateway 203 and channel authentication information for the node 201 to create a channel. Information may be transmitted to node 201 (act 635). According to an embodiment, a channel may include at least one of a tunnel and a session.

실시예에 따르면, 노드(201)와 게이트웨이(203) 사이에 채널이 생성되는 구조가 아니고 노드(201)가 속한 네트워크에 존재하는 게이트웨이(203)와 목적지 네트워크 경계에 존재하는 사전에 연결된 채널을 통해서 접속하는 구조인 경우 또는 노드(201)와 목적지 네트워크 경계 사이에 다른 채널 기술을 통해서 접속하는 경우, 컨트롤러(202)는 채널 생성 정보를 노드(201)에게 전송하지 않을 수 있다. According to the embodiment, a channel is not created between the node 201 and the gateway 203, but through a pre-connected channel existing at the border of the gateway 203 and the destination network existing in the network to which the node 201 belongs. In the case of a connection structure or a connection between the node 201 and the destination network boundary through a different channel technology, the controller 202 may not transmit channel creation information to the node 201.

동작 635에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보를 노드(201)에게 전송할 수 있다. 실시예에 따라 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고 동작 635에서 접속 불가 정보를 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 630의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다.In operation 635, the controller 202 may transmit control flow identification information to the node 201 in response to the controller connection request. Depending on the embodiment, if the object requesting controller connection is unconnectable or included in the blacklist, the controller 202 may transmit unconnection information in operation 635 without generating a control flow. In one embodiment, the controller 202 may transmit the application white list created by performing operation 630 to the access control application 211.

접속 제어 애플리케이션(211)은 채널 생성이 필요한 경우(예: 컨트롤러(202)로부터 채널 생성 정보가 수신된 경우), 동작 640에서, 컨트롤러(202)로부터 수신된 채널 생성을 위한 정보(예: 게이트웨이(203) 및 채널 인증 정보 등 채널 생성에 필요한 일련의 정보)에 기반하여 게이트웨이(203)에게 채널 생성을 요청할 수 있다. 게이트웨이(203)는 노드(201)의 채널 생성 요청에 응답하여 채널을 생성할 수 있다. 실시예에 따르면, 컨트롤러(202)에 의해 채널 생성이 불필요한 것으로 판단된 경우(예: 컨트롤러(202)로부터 채널 생성 정보가 수신되지 않은 경우, 또는 컨트롤러(202)로부터 채널 생성 불필요 정보가 수신된 경우 등) 접속 제어 애플리케이션(211)은 동작 640을 수행하지 않고 동작 645을 수행할 수 있다. When channel creation is required (e.g., when channel creation information is received from the controller 202), the access control application 211 generates information for channel creation received from the controller 202 (e.g., gateway (e.g., gateway) in operation 640. 203) and a series of information required for channel creation, such as channel authentication information, can request the gateway 203 to create a channel. The gateway 203 may create a channel in response to a channel creation request from the node 201. According to the embodiment, when channel creation is determined to be unnecessary by the controller 202 (e.g., when channel creation information is not received from the controller 202, or when channel creation unnecessary information is received from the controller 202) etc.) The access control application 211 may perform operation 645 without performing operation 640.

동작 640을 통해 채널이 생성된 경우, 접속 제어 애플리케이션(211)은 채널 생성 완료 정보 및 채널 생성에 따라 설정된 전용 IP가 존재하는지 확인하여, 채널 생성 완료 정보 및 전용 IP 정보를 컨트롤러(202)에게 전송할 수 있다(동작 650). When a channel is created through operation 640, the access control application 211 checks whether the channel creation completion information and the dedicated IP set according to the channel creation exist, and transmits the channel creation completion information and the dedicated IP information to the controller 202. (action 650).

동작 645에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치되어 있는지) 여부를 확인할 수 있다. At operation 645, the access control application 211 may perform a check on the application. For example, the access control application 211 may perform a check on applications based on a white list of accessible applications received from the controller 202. According to the embodiment, the access control application 211 may check whether the application exists (installed) in the node 201 based on accessible application information.

동작 650에서, 접속 제어 애플리케이션(211)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 채널 생성 완료 정보, 할당된 채널 식별 정보(IP 정보)를 컨트롤러(202)로 전송할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 애플리케이션 화이트 리스트에 기반하여 애플리케이션의 설치 여부에 대한 확인 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 650, the access control application 211 may transmit the test result to the controller 202. For example, the access control application 211 may transmit channel creation completion information and assigned channel identification information (IP information) to the controller 202. For another example, the access control application 211 may transmit a confirmation result of whether the application is installed to the controller 202 based on the application white list.

동작 655에서, 컨트롤러(202)는 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 채널 생성 완료 정보가 수신된 경우, 노드(201)에 할당된 채널 전용 IP 정보 및 채널 생성 완료 정보를 채널 및 세션 테이블(예: 도 3의 채널 및 세션 테이블(318))에 등록할 수 있고, 노드(201)에서 전송한 정보를 노드(201)에 대응되는 제어 플로우에 갱신할 수 있다. At operation 655, controller 202 may perform data flow processing. For example, when the channel creation completion information is received, the controller 202 stores the channel dedicated IP information assigned to the node 201 and the channel creation completion information in a channel and session table (e.g., the channel and session table of FIG. 3). 318)), and the information transmitted from the node 201 can be updated in the control flow corresponding to the node 201.

컨트롤러(202)는 해당 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책(예: 도 3의 접속 정책(311)) 및 서비스 정책(317)에서 노드(201)가 위치한 게이트웨이(203)를 확인할 수 있다. 또한, 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차를 수행하지 않고 서비스 처리 요청을 제어할 수 있도록, 도착지 IP, 서비스 포트 정보 및 서비스 도메인 정보를 포함하는 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우는 게이트웨이(203)가 인가된 노드(201)임을 식별하기 위한 접속성 제어 정보(예: 논리적 연결 인증 기반 접속, 인가된 채널 또는 세션 기반 접속 여부 및 이를 식별하기 위한 정보, 상태 정보), 노드(201)가 서비스에 접속하기 위해 추가 인증을 수행해야 하는지 여부에 관련된 정보, 서비스 제공자가 사전에 설정한 정보로써 게이트웨이(203)를 통해서 삽입할 인가된 대상의 보호 정보(예: 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보, 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부, 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보를 포함할 수 있다. 이 경우, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 660, 665). The controller 202 sets the connection policy (e.g., the access policy 311 in FIG. 3) and the gateway 203 where the node 201 is located in the service policy 317 to allow the node 201 connected to the network to access the network. You can check. Additionally, the controller 202 may generate a data flow including a destination IP, service port information, and service domain information so that the node 201 can control service processing requests without performing a network connection request procedure. According to an embodiment, the data flow includes connectivity control information to identify the gateway 203 as an authorized node 201 (e.g., whether a logical connection authentication-based connection, an authorized channel, or session-based connection, and information for identifying this). , status information), information related to whether the node 201 needs to perform additional authentication to access the service, and protection information of the authorized target to be inserted through the gateway 203 as information set in advance by the service provider ( Example: Information that cannot be identified through general service protocols, such as the node's operating system and device type, user identification information, security compliance compliance information, and a series of information received from the authentication server) may be included. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. Information to determine whether to insert, protection information to be removed and returned from the gateway 203 when the service server returns a service request result to the node 201, protection information to be removed and returned to the data of the gateway 203 Whether it needs to be updated or stored in the flow, if a service request exists at the node 201, and when the service result is returned, which of the protection information removed from the gateway 203 should be reinserted among the protection information stored or updated in the data flow When accessing information and services, whether authentication is required is checked through the gateway 203 and redirected to the authentication server, or when the service server redirects a service request to the authentication server, information that needs to be shared or protected between two mutually different domains identified during the authentication process. It may include protection information, protection information token generation method, and algorithm information. In this case, the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 of the node 201 (operations 660 and 665).

동작 670에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 670, the access control application 211 may process a result value according to the received response. For example, the connection control application 211 may store the received control flow identification information and display a user interface screen to the user indicating that the controller connection is complete. Once the controller connection is completed, the network connection request for the destination network of the node 201 can be controlled by the controller 202.

다른 실시예에 따라, 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 625에서 제어 플로우를 생성하지 않고, 동작 635에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 640 내지 동작 665는 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(211)은 다시 동작 605를 수행할 수 있다. According to another embodiment, controller 202 may determine that node 201 is unreachable. For example, if the identification information of the node 201 and/or the network to which the node 201 belongs is included in the blacklist database, the controller 202 may determine that the node 201 is inaccessible. In this case, the controller 202 may not generate a control flow in operation 625 and may transmit a response indicating that the controller connection is not possible in operation 635. Additionally, in this case, operations 640 to 665 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 211 may perform operation 605 again.

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. 이후 데이터 패킷 전송 요청이 감지되는 경우, 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 기반하여 전송하고자하는 데이터 패킷을 처리할 수 있다. In addition, the access control application 211 can update the data flow of the node 201 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that Afterwards, when a data packet transmission request is detected, the access control application 211 may process the data packet to be transmitted based on the received data flow.

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to the embodiment, when the connection control application 211 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.7 shows a signal flow diagram for user authentication according to various embodiments.

노드(201)가 목적지 네트워크에 대한 상세한 접속 권한을 부여받기 위해서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 노드(201)의 사용자에 대한 인증을 받을 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 노드(201)와 실질적으로 동일할 수 있다. In order for the node 201 to be granted detailed access rights to the destination network, the access control application 211 of the node 201 may receive authentication for the user of the node 201 from the controller 202. According to the embodiment, the node 201 may be substantially the same as the node 201 of FIG. 2 on which the access control application 211 is installed.

도 7을 참조하면, 노드(201)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예: 생체 정보)일 수 있다. 이 경우, 동작 705에서 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 노드(201)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(211)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.Referring to FIG. 7, node 201 may receive input for user authentication. The input for user authentication may be, for example, a user input of entering a user ID and password. For another example, the input for user authentication may be a user input for stronger authentication (e.g., biometric information). In this case, in operation 705, the access control application 211 of the node 201 may request user authentication from the controller 202. If a control flow between the node 201 and the controller 202 has already been created, the access control application 211 may transmit input information for user authentication along with control flow identification information.

동작 710에서, 컨트롤러(202)는 노드(201)로부터 수신된 정보에 기반하여 사용자를 인증할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 정보에 포함된 사용자 ID, 비밀번호, 및/또는 강화된 인증 정보와, 컨트롤러(202)의 메모리에 포함된 데이터 베이스(예: 도 3의 접속 정책 데이터 베이스(311) 또는 블랙리스트 데이터 베이스(314))에 기반하여 사용자가 접속 정책에 따라 접속 가능한지 여부 및 사용자가 블랙리스트에 포함되는지 여부를 결정할 수 있다. At operation 710, controller 202 may authenticate the user based on information received from node 201. For example, the controller 202 may store the user ID, password, and/or enhanced authentication information contained in the received information and a database contained in the memory of the controller 202 (e.g., the access policy database of FIG. 3). Based on (311) or the blacklist database (314), it can be determined whether the user can access according to the access policy and whether the user is included in the blacklist.

사용자가 인증되면, 동작 715에서, 컨트롤러(202)는 식별된 노드(201)가 컨트롤러(202) 이외의 인증 서버(207, 예: OAuth, SAML, LDAP, Active Directory 등의 인증 관련 기술)를 통해 추가 인증을 수행하는지 여부를 인증 정책(319)에 기반하여 확인할 수 있다. 실시예에 따르면, 추가 인증을 수행할 필요가 없는 경우, 컨트롤러(202)는 동작 725를 수행할 수 있다. 실시예에 따르면, 추가 인증을 수행해야 하는 경우, 컨트롤러(202)는 식별된 정보 및 인증 정책(319)에 설정된 정보에 기반하여 인증 서버(207)에 인증을 요청하고 인증 결과를 수신할 수 있다(동작 720). 실시예에 따르면, 인증 서버(207)로부터 인증 불가 결과를 수신하는 경우, 컨트롤러(202)는 노드(201)에게 접속 불가 정보를 전송할 수 있다(동작 735). Once the user is authenticated, at operation 715, the controller 202 authenticates the identified node 201 via an authentication server 207 (e.g., authentication-related technology such as OAuth, SAML, LDAP, Active Directory, etc.) other than the controller 202. Whether additional authentication is performed can be checked based on the authentication policy 319. According to an embodiment, if there is no need to perform additional authentication, the controller 202 may perform operation 725. According to the embodiment, when additional authentication needs to be performed, the controller 202 may request authentication from the authentication server 207 based on the identified information and information set in the authentication policy 319 and receive the authentication result. (Action 720). According to an embodiment, when receiving an authentication inability result from the authentication server 207, the controller 202 may transmit connection inability information to the node 201 (operation 735).

인증 서버(207)로부터 인증 완료 정보를 수신한 경우, 컨트롤러(202)는 인증 서버(207)로부터 수신한 인증 관련 정보(예: 서비스가 인증서버를 통해서 노드의 인증 정보를 확인하고 관련된 권한 정보를 수신하거나 보호 정보를 수신하기 위한 인증 토큰 등, 해당 노드의 인증 관련 정보를 확인하기 위한 일련의 정보)를 저장할 수 있다. When authentication completion information is received from the authentication server 207, the controller 202 uses authentication-related information received from the authentication server 207 (e.g., the service verifies the authentication information of the node through the authentication server and provides related authorization information). A set of information to confirm the authentication-related information of the node, such as an authentication token for receiving or receiving protected information) can be stored.

인증이 완료되거나, 추가 인증이 필요하지 않은 경우 동작 725에서, 컨트롤러(202)는 제어 플로우의 식별 정보에 사용자의 식별 정보(예: 사용자 ID)를 추가할 수 있다. 추가된 사용자 식별 정보는 인증된 사용자의 컨트롤러 접속 또는 네트워크 접속에 이용될 수 있다. When authentication is completed or additional authentication is not required, in operation 725, the controller 202 may add the user's identification information (e.g., user ID) to the identification information of the control flow. The added user identification information can be used to connect the authenticated user to the controller or network.

동작 730에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 채널 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 실시예에 따르면, 컨트롤러(202)는 식별된 정보, 접속 정책 데이터베이스(311) 및 채널 정책 데이터베이스(312)에 기반하여, 현재 접속 요청한 노드(201)가 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 735에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 730, the controller 202 accesses the access policy database 311 and the channel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs). Whitelist information of possible applications can be created. According to the embodiment, the controller 202 determines whether there is destination network information to which the current connection requesting node 201 can basically connect based on the identified information, the connection policy database 311, and the channel policy database 312. You can check it. In one embodiment, the controller 202 may transmit the application white list to the connection control application 211 in operation 735.

접속이 가능한 경우, 컨트롤러(202)는 노드(201)가 연결될 수 있는 채널 종류 및 게이트웨이를 목록화할 수 있다. 예를 들어, 컨트롤러(202)는 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(201)의 종류, 위치 정보, 환경 및 노드(201)가 포함되어있는 네트워크 정보, 컨트롤러(202)를 통해 식별된 노드(201)의 식별 정보(예: IP 정보) 및 노드(201)에서 식별된 노드(201)의 식별 정보 중 적어도 어느 하나 또는 둘 이상의 조합에 기반하여 노드(201)가 연결할 수 있는 채널 종류와 게이트웨이를 목록화할 수 있다. If connectivity is available, the controller 202 can list the channel types and gateways to which the node 201 can be connected. For example, in order for the node 201 to connect to the destination network, the controller 202 uses the type, location information, environment, and network information containing the node 201 included in the control flow, and the controller ( The node 201 is based on at least one or a combination of two or more of the identification information (e.g., IP information) of the node 201 identified through 202) and the identification information of the node 201 identified through the node 201. You can list the channel types and gateways that can be connected.

컨트롤러(202)는 목록화된 게이트웨이의 상태(예: 처리량, 장애 여부)를 확인할 수 있고, 목록화된 게이트웨이 중에서 노드(201)에 최적화된 채널 및 게이트웨이(203)를 식별할 수 있다. 예를 들어, 컨트롤러(202)는 채널 및 게이트웨이(203)를 한 개 식별할 수 있다. 실시예에 따르면, 노드(201)에 접속 가능한 채널 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)는 노드(201)가 채널을 생성하기 위한 게이트웨이(203) 및 채널 인증 정보 등의 채널 생성 정보를 노드(201)로 전송할 수 있다(동작 735). 실시예에 따르면, 채널은 터널, 세션 중 적어도 어느 하나를 포함할 수 있다.The controller 202 can check the status (e.g., throughput, failure status) of the listed gateways, and identify the channel and gateway 203 optimized for the node 201 among the listed gateways. For example, the controller 202 may identify one channel and one gateway 203. According to the embodiment, when there is a channel and a gateway 203 accessible to the node 201, the controller 202 creates a channel such as a gateway 203 and channel authentication information for the node 201 to create a channel. Information may be transmitted to node 201 (act 735). According to an embodiment, a channel may include at least one of a tunnel and a session.

실시예에 따르면, 노드(201)와 게이트웨이(203) 사이에 채널이 생성되는 구조가 아니고 노드(201)가 속한 네트워크에 존재하는 게이트웨이(203)와 목적지 네트워크 경계에 존재하는 사전에 연결된 채널을 통해서 접속하는 구조인 경우 또는 노드(201)와 목적지 네트워크 경계 사이에 다른 채널 기술을 통해서 접속하는 경우, 컨트롤러(202)는 채널 생성 정보를 노드(201)에게 전송하지 않을 수 있다. According to the embodiment, a channel is not created between the node 201 and the gateway 203, but through a pre-connected channel existing at the border of the gateway 203 and the destination network existing in the network to which the node 201 belongs. In the case of a connection structure or a connection between the node 201 and the destination network boundary through a different channel technology, the controller 202 may not transmit channel creation information to the node 201.

동작 735에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로써 사용자가 인증됨을 나타내는 정보를 노드(201)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 730의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다.In operation 735, the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request. In one embodiment, the controller 202 may transmit the application white list created through operation 730 to the access control application 211.

접속 제어 애플리케이션(211)은 채널 생성이 필요한 경우(예: 컨트롤러(202)로부터 채널 생성 정보가 수신된 경우), 동작 740에서, 컨트롤러(202)로부터 수신된 채널 생성을 위한 정보(예: 게이트웨이(203) 및 채널 인증 정보 등 채널 생성에 필요한 일련의 정보)에 기반하여 게이트웨이(203)에게 채널 생성을 요청할 수 있다. 게이트웨이(203)는 노드(201)의 채널 생성 요청에 응답하여 채널을 생성할 수 있다. 실시예에 따르면, 컨트롤러(202)에 의해 채널 생성이 불필요한 것으로 판단된 경우(예: 컨트롤러(202)로부터 채널 생성 정보가 수신되지 않은 경우, 또는 컨트롤러(202)로부터 채널 생성 불필요 정보가 수신된 경우 등) 접속 제어 애플리케이션(211)은 동작 740을 수행하지 않고 동작 745을 수행할 수 있다. When channel creation is required (e.g., when channel creation information is received from the controller 202), the access control application 211 generates information for channel creation received from the controller 202 (e.g., gateway (e.g., gateway) in operation 740. 203) and a series of information required for channel creation, such as channel authentication information, can request the gateway 203 to create a channel. The gateway 203 may create a channel in response to a channel creation request from the node 201. According to the embodiment, when channel creation is determined to be unnecessary by the controller 202 (e.g., when channel creation information is not received from the controller 202, or when channel creation unnecessary information is received from the controller 202) etc.) The access control application 211 may perform operation 745 without performing operation 740.

동작 740을 통해 채널이 생성된 경우, 접속 제어 애플리케이션(211)은 채널 생성 완료 정보 및 채널 생성에 따라 설정된 전용 IP가 존재하는지 확인할 수 있다. 접속 제어 애플리케이션(211)은 채널 생성 완료 정보 및 전용 IP 정보를 컨트롤러(202)에게 전송할 수 있다(동작 750). When a channel is created through operation 740, the access control application 211 may check whether channel creation completion information and a dedicated IP set according to channel creation exist. The access control application 211 may transmit channel creation completion information and dedicated IP information to the controller 202 (operation 750).

동작 745에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치되어 있는지) 여부를 확인할 수 있다. At operation 745, the access control application 211 may perform a check on the application. For example, the access control application 211 may perform a check on applications based on a white list of accessible applications received from the controller 202. The access control application 211 can check whether the application exists (installed) on the node 201 based on accessible application information.

동작 750에서, 접속 제어 애플리케이션(211)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 채널 생성 완료 정보, 할당된 채널 식별 정보(IP 정보)를 컨트롤러(202)로 전송할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 애플리케이션 화이트 리스트에 기반하여 애플리케이션의 설치 여부에 대한 확인 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 750, the access control application 211 may transmit the test result to the controller 202. For example, the access control application 211 may transmit channel creation completion information and assigned channel identification information (IP information) to the controller 202. For another example, the access control application 211 may transmit a confirmation result of whether the application is installed to the controller 202 based on the application white list.

동작 755에서, 컨트롤러(202)는 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 채널 생성 완료 정보가 수신된 경우, 노드(201)에 할당된 채널 전용 IP 정보 및 채널 생성 완료 정보를 채널 및 세션 테이블(예: 도 3의 채널 및 세션 테이블(318))에 등록할 수 있고, 노드(201)에서 전송한 정보를 노드(201)에 대응되는 제어 플로우에 갱신할 수 있다. At operation 755, controller 202 may perform data flow processing. For example, when the channel creation completion information is received, the controller 202 stores the channel dedicated IP information assigned to the node 201 and the channel creation completion information in a channel and session table (e.g., the channel and session table of FIG. 3). 318)), and the information transmitted from the node 201 can be updated in the control flow corresponding to the node 201.

컨트롤러(202)는 해당 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책(예: 도 3의 접속 정책(311)) 및 서비스 정책(317)에서 노드(201)가 위치한 게이트웨이(203)를 확인할 수 있다. 또한, 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차를 수행하지 않고 서비스 처리 요청을 제어할 수 있도록, 도착지 IP, 서비스 포트 정보 및 서비스 도메인 정보를 포함하는 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우는 게이트웨이(203)가 인가된 노드(201)임을 식별하기 위한 접속성 제어 정보(예: 논리적 연결 인증 기반 접속, 인가된 채널 또는 세션 기반 접속 여부 및 이를 식별하기 위한 정보, 상태 정보), 노드(201)가 서비스에 접속하기 위해 추가 인증을 수행해야 하는지 여부에 관련된 정보, 서비스 제공자가 사전에 설정한 정보로써 게이트웨이(203)를 통해서 삽입할 인가된 대상의 보호 정보(예: 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보, 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부, 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보를 포함할 수 있다. 이 경우, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 760, 765). The controller 202 sets the connection policy (e.g., the access policy 311 in FIG. 3) and the gateway 203 where the node 201 is located in the service policy 317 to allow the node 201 connected to the network to access the network. You can check. Additionally, the controller 202 may generate a data flow including a destination IP, service port information, and service domain information so that the node 201 can control service processing requests without performing a network connection request procedure. According to an embodiment, the data flow includes connectivity control information to identify the gateway 203 as an authorized node 201 (e.g., whether a logical connection authentication-based connection, an authorized channel, or session-based connection, and information for identifying this). , status information), information related to whether the node 201 needs to perform additional authentication to access the service, and protection information of the authorized target to be inserted through the gateway 203 as information set in advance by the service provider ( Example: Information that cannot be identified through general service protocols, such as the node's operating system and device type, user identification information, security compliance compliance information, and a series of information received from the authentication server) may be included. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. Information to determine whether to insert, protection information to be removed and returned from the gateway 203 when the service server returns a service request result to the node 201, protection information to be removed and returned to the data of the gateway 203 Whether it needs to be updated or stored in the flow, if a service request exists at the node 201, and when the service result is returned, which of the protection information removed from the gateway 203 should be reinserted among the protection information stored or updated in the data flow When accessing information and services, whether authentication is required is checked through the gateway 203 and redirected to the authentication server, or when the service server redirects a service request to the authentication server, information that needs to be shared or protected between two mutually different domains identified during the authentication process. It may include protection information, protection information token generation method, and algorithm information. In this case, the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 of the node 201 (operations 760 and 765).

동작 770에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 사용자 인증이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 770, the access control application 211 may process a result value according to the received response. For example, the access control application 211 may store the received control flow identification information and display a user interface screen to the user indicating that user authentication is complete. Once user authentication is completed, the node 201's network connection request to the destination network may be controlled by the controller 202.

다른 실시예에 따르면, 컨트롤러(202)는 노드(201)의 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능 및 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 725에서 사용자 식별 정보를 반영하지 않고, 동작 735에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 740 내지 동작 765은 수행되지 않을 수 있다. According to another embodiment, the controller 202 may determine that user authentication of node 201 is not possible. For example, if the identification information of node 201 and/or the network to which node 201 belongs is included in the blacklist database, the controller 202 may determine that node 201 is inaccessible and user authentication is not possible. . In this case, the controller 202 may not reflect the user identification information in operation 725 and may transmit a response indicating that controller access is not possible in operation 735. Additionally, in this case, operations 740 to 765 may not be performed.

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 211 can update the data flow of the node 201 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to the embodiment, when the connection control application 211 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

도 8은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. Figure 8 shows a signal flow diagram for network access according to various embodiments.

노드(201)가 컨트롤러(202)로부터 인가된 이후에, 노드(201)는 노드(201)의 접속 제어 애플리케이션(211)을 통해 노드(201) 내에 저장된 다른 애플리케이션들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 노드(201)와 실질적으로 동일할 수 있다. After the node 201 is authorized by the controller 202, the node 201 controls the network access of other applications stored in the node 201 through the access control application 211 of the node 201, thereby controlling the network access of other applications stored in the node 201. Transmission can be guaranteed. According to the embodiment, the node 201 may be substantially the same as the node 201 of FIG. 2 on which the access control application 211 is installed.

도 8을 참조하면, 동작 805에서, 접속 제어 애플리케이션(211)은 노드(201) 내에 저장된 다른 애플리케이션(예: 도 2의 타겟 애플리케이션(212))의 네트워크 접속 이벤트를 감지할 수 있다. Referring to FIG. 8, in operation 805, the connection control application 211 may detect a network connection event of another application (eg, the target application 212 in FIG. 2) stored in the node 201.

동작 810에서, 접속 제어 애플리케이션(211)은 네트워크 접속 요청한 애플리케이션의 식별 정보, 목적지 네트워크 식별 정보 및 포트 정보에 대응되는 데이터 플로우의 존재를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 노드(201)의 접속 제어 애플리케이션(211)은 동작 810을 수행하지 않고 동작 815에서 네트워크 접속 요청을 수행할 수도 있다. In operation 810, the access control application 211 may confirm the existence of a data flow corresponding to the identification information of the application requesting network access, destination network identification information, and port information. Depending on the embodiment, if a data flow exists but is not valid, the access control application 211 may drop the data packet. According to another embodiment, when a data flow exists, the access control application 211 may transmit data packets based on the data flow. According to an embodiment, the access control application 211 of the node 201 may perform a network connection request in operation 815 without performing operation 810.

데이터 플로우가 존재하지 않거나 인증 시각이 만료되어 갱신이 필요한 경우 등 데이터 플로우를 갱신해야 하는 경우, 동작 815에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 제어 플로우 식별 정보, 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보 및 포트 정보를 포함할 수 있다. When the data flow needs to be updated, such as when the data flow does not exist or when the authentication time has expired and needs to be updated, in operation 815, the access control application 211 may request network access from the controller 202. For example, a network connection request may include control flow identification information, target application identification information, destination network identification information, and port information.

동작 820에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 노드, 사용자, 출발지 네트워크 식별 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 목적지 네트워크의 식별 정보 및 포트 정보)의 포함 여부 및 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 타겟 애플리케이션이 게이트웨이(203) 또는 목적지 네트워크(205)에 접속 가능한지 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 노드(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 845).In operation 820, the controller 202 collects the connection request identification information (e.g., identification information of the destination network) from the connection policy corresponding to the identified information (e.g., node, user, source network identification information) based on the control flow identification information. and port information) and whether the destination network is accessible. According to an embodiment, the controller 202 may check whether the target application can connect to the gateway 203 or the destination network 205. Depending on the embodiment, if network connection is not possible, the controller 202 may transmit a connection failure result to the connection control application 211 of the node 201 (operation 845).

접속이 가능한, 경우, 컨트롤러(202)는 채널 및 세션 정책(312)에 기반하여 인가된 노드(201) 또는 타겟 애플리케이션이 네트워크에 접속하기 위한 접속성 제어 요소로서 논리적 연결 인증 기반 접속, 인가된 채널 또는 세션 기반 접속 여부를 확인할 수 있다. If access is possible, the controller 202 is a connectivity control element for the authorized node 201 or target application to access the network based on the channel and session policy 312. Logical connection authentication-based access, authorized channel Alternatively, you can check whether session-based connection exists.

실시예에 따르면, 논리적 연결 인증 기반 접속성 제어를 수행하는 경우, 컨트롤러(202)는 논리적 연결 인증을 위한 정보를 포함하는 데이터 플로우를 생성하기 위한 절차를 수행할 수 있다. According to an embodiment, when performing connectivity control based on logical connection authentication, the controller 202 may perform a procedure for creating a data flow including information for logical connection authentication.

실시예에 따르면, 채널에 기반하여 접속성 제어를 수행하는 경우, 컨트롤러(202)는 노드(201)와 게이트웨이(203) 사이에 채널이 생성되어 있는지 여부 확인할 수 있다. 예를 들어, 채널이 생성되어 있지 않는 경우, 컨트롤러(202)는 노드(201)에 접속 불가 결과를 전송할 수 있다. 다른 예를 들어, 채널이 생성되어 있는 경우, 컨트롤러(202)는 데이터 플로우를 생성하기 위한 절차를 수행할 수 있다. According to the embodiment, when connectivity control is performed based on a channel, the controller 202 may check whether a channel is created between the node 201 and the gateway 203. For example, if a channel is not created, the controller 202 may transmit a non-accessible result to the node 201. For another example, when a channel has been created, the controller 202 may perform a procedure to create a data flow.

실시예에 따르면, 세션에 기반하여 접속성 제어를 수행하는 경우, 컨트롤러(202)는 세션 생성을 위한 정보를 포함하는 데이터 플로우를 생성하기 위한 절차를 수행할 수 있다. According to an embodiment, when performing connectivity control based on a session, the controller 202 may perform a procedure for creating a data flow including information for session creation.

접속이 가능한 경우, 동작 825에서, 컨트롤러(202)는 컨트롤러(202)는 식별된 노드(201)가 컨트롤러(202) 이외의 인증 서버(207, 예: OAuth, SAML, LDAP, Active Directory 등의 인증 관련 기술)를 통해 추가 인증을 수행하는지 여부를 인증 정책(319)에 기반하여 확인할 수 있다. 실시예에 따르면, 추가 인증을 수행할 필요가 없는 경우, 컨트롤러(202)는 동작 835를 수행할 수 있다. 실시예에 따르면, 추가 인증을 수행해야 하는 경우, 컨트롤러(202)는 식별된 정보 및 인증 정책(319)에 설정된 정보에 기반하여 인증 서버(207)에 인증을 요청하고 인증 결과를 수신할 수 있다(동작 830). 실시예에 따르면, 인증 서버(207)로부터 인증 불가 결과를 수신하는 경우, 컨트롤러(202)는 노드(201)에게 접속 불가 정보를 전송할 수 있다(동작 845). If connection is possible, in operation 825, the controller 202 determines whether the identified node 201 is authenticated by an authentication server 207 other than the controller 202, such as OAuth, SAML, LDAP, Active Directory, etc. It is possible to check whether additional authentication is performed through (related technology) based on the authentication policy (319). According to an embodiment, if there is no need to perform additional authentication, the controller 202 may perform operation 835. According to the embodiment, when additional authentication needs to be performed, the controller 202 may request authentication from the authentication server 207 based on the identified information and information set in the authentication policy 319 and receive the authentication result. (Operation 830). According to the embodiment, when receiving an authentication inability result from the authentication server 207, the controller 202 may transmit connection inability information to the node 201 (operation 845).

인증 서버(207)로부터 인증 완료 정보를 수신한 경우, 컨트롤러(202)는 인증 서버(207)로부터 수신한 인증 관련 정보(예: 서비스가 인증서버를 통해서 노드의 인증 정보를 확인하고 관련된 권한 정보를 수신하거나 보호 정보를 수신하기 위한 인증 토큰 등, 해당 노드의 인증 관련 정보를 확인하기 위한 일련의 정보)를 저장할 수 있다. When authentication completion information is received from the authentication server 207, the controller 202 uses authentication-related information received from the authentication server 207 (e.g., the service verifies the authentication information of the node through the authentication server and provides related authorization information). A set of information to confirm the authentication-related information of the node, such as an authentication token for receiving or receiving protected information) can be stored.

인증이 완료되거나, 추가 인증이 필요하지 않은 경우, 동작 835에서, 컨트롤러(202)는 노드(201)가 접속 요청한 정보(도착지 식별 정보, 포트 정보)에 대응되는 유효한 데이터 플로우가 존재하는지 확인할 수 있다. If authentication is completed or additional authentication is not required, in operation 835, the controller 202 may check whether a valid data flow exists corresponding to the information (destination identification information, port information) requested for connection by the node 201. .

실시예에 따르면, 유효한 데이터 플로우가 존재하는 경우 컨트롤러(202)는 데이터 플로우를 생성하지 않고 동작 840 및 동작 845를 수행할 수 있다. According to an embodiment, if a valid data flow exists, the controller 202 may perform operations 840 and 845 without creating a data flow.

실시예에 따르면, 유효한 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 출발지 IP, 도착지 IP, 서비스 포트 정보 및 서비스 도메인 정보를 포함하는 데이터 플로우를 생성할 수 있다. According to an embodiment, when a valid data flow does not exist, the controller 202 may create a data flow including a source IP, a destination IP, service port information, and service domain information.

실시예에 따르면, 데이터 플로우는 게이트웨이(203)가 인가된 노드(201)임을 식별하기 위한 접속성 제어 정보(예: 논리적 연결 인증 기반 접속, 인가된 채널 또는 세션 기반 접속 여부 및 이를 식별하기 위한 정보, 상태 정보), 노드(201)가 서비스에 접속하기 위해 추가 인증을 수행해야 하는지 여부에 관련된 정보, 서비스 제공자가 사전에 설정한 정보로써 게이트웨이(203)를 통해서 삽입할 인가된 대상의 보호 정보(예: 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보, 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부, 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보를 포함할 수 있다. 이 경우, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 840, 845). According to an embodiment, the data flow includes connectivity control information to identify the gateway 203 as an authorized node 201 (e.g., whether a logical connection authentication-based connection, an authorized channel, or session-based connection, and information for identifying this). , status information), information related to whether the node 201 needs to perform additional authentication to access the service, and protection information of the authorized target to be inserted through the gateway 203 as information set in advance by the service provider ( Example: Information that cannot be identified through general service protocols, such as the node's operating system and device type, user identification information, security compliance compliance information, and a series of information received from the authentication server) may be included. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. Information to determine whether to insert, protection information to be removed and returned from the gateway 203 when the service server returns a service request result to the node 201, protection information to be removed and returned to the data of the gateway 203 Whether it needs to be updated or stored in the flow, if a service request exists at the node 201, and when the service result is returned, which of the protection information removed from the gateway 203 should be reinserted among the protection information stored or updated in the data flow When accessing information and services, whether authentication is required is checked through the gateway 203 and redirected to the authentication server, or when the service server redirects a service request to the authentication server, information that needs to be shared or protected between two mutually different domains identified during the authentication process. It may include protection information, protection information token generation method, and algorithm information. In this case, the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 of the node 201 (operations 840 and 845).

동작 850에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 불가 결과를 수신한 경우, 타겟 애플리케이션이 전송하고자 하는 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우가 수신되는 경우, 수신된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 이 경우, 접속 제어 애플리케이션(211)은 수신된 데이터 플로우로 기존 데이터 플로우를 갱신할 수 있다. In operation 850, the access control application 211 of the node 201 may process the result of the response received from the controller 202. For example, when the connection control application 211 receives a network connection unavailable result from the controller 202, the connection control application 211 may drop the data packet that the target application wants to transmit. As another example, when a data flow is received from the controller 202, the access control application 211 may transmit data packets based on the received data flow. In this case, the access control application 211 may update the existing data flow with the received data flow.

도 9는 다양한 실시예들에 따른 서비스 요청을 처리하기 위한 신호 흐름도를 도시한다. Figure 9 shows a signal flow diagram for processing a service request according to various embodiments.

게이트웨이(203)는 서비스 요청이 인가된 대상으로부터 수신되는 경우, 인가된 대상에 관련된 정보를 삽입하여 포워딩함으로서 목적지 네트워크(205)에 존재하는 서비스 서버에서 서비스 요청이 인가된 대상으로부터 수신된 요청인지 여부를 확인하도록 네트워크 접속 제어를 수행할 수 있다. When a service request is received from an authorized target, the gateway 203 inserts and forwards information related to the authorized target to determine whether the service request is received from an authorized target on the service server existing in the destination network 205. You can perform network access control to check.

동작 905에서, 게이트웨이(203)에 포함된 프록시는 서비스 요청을 수신할 수 있다. At operation 905, a proxy included in gateway 203 may receive a service request.

동작 910에서, 게이트웨이(203)는 수신된 IP 헤더에 포함된 도착지 IP와 포트 정보 및 서비스 요청에 포함된 도착지 IP 및 포트 정보 또는 서비스 도메인 정보 및 서비스 요청의 접속성 제어 종류 및 식별 정보(예: 논리적 연결에 의한 식별, 채널에 의한 식별, 인증서에 의한 식별)에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 게이트웨이(203)는 수신된 서비스 요청의 서비스 도메인 정보에 대응되는 데이터 플로우가 존재하는지 여부를 확인할 수 있다.In operation 910, the gateway 203 collects the destination IP and port information included in the received IP header and the destination IP and port information or service domain information included in the service request, and the connectivity control type and identification information of the service request (e.g., You can check whether a data flow exists corresponding to (identification by logical connection, identification by channel, identification by certificate). According to the embodiment, the gateway 203 may check whether a data flow corresponding to the service domain information of the received service request exists.

실시예에 따르면, 데이터 플로우가 존재하지 않거나, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 인가되지 않은 접속성 제어 종류 및 식별 정보에 의한 접근 또는 인가된 접속성 제어 종류 및 식별 정보이지만 접속이 불가능한 도착지 IP 및 포트 정보 또는 서비스 도메인 정보의 경우), 게이트웨이(203)는 서비스 요청을 거절할 수 있다(동작 925). According to an embodiment, when a data flow does not exist, or when a data flow exists but is invalid (e.g., access by unauthorized connectivity control type and identification information, or access by authorized connectivity control type and identification information, but the access is not valid), In case of impossible destination IP and port information or service domain information), the gateway 203 may reject the service request (operation 925).

실시예에 따르면, 데이터 플로우가 존재하지만 인증이 필요한 경우, 게이트웨이(203)는, 동작 930에서, 데이터 플로우에 포함된 인증 정보에 기반하여 인증 서버(207)로 리다이렉션할 수 있다. According to an embodiment, if a data flow exists but authentication is required, the gateway 203 may redirect to the authentication server 207 based on authentication information included in the data flow, in operation 930.

실시예에 따르면, 데이터 플로우가 존재하고 인증이 필요하지 않은 경우, 게이트웨이(203)는 동작 915를 수행할 수 있다. According to an embodiment, if a data flow exists and authentication is not required, gateway 203 may perform operation 915.

동작 915에서, 게이트웨이(203)는 서비스 요청에 보호 정보 토큰이 존재하는지 여부를 확인할 수 있고, 보호 정보 토큰이 존재하면 보호 정보 토큰이 대응되는 데이터 플로우의 보호 정보에 포함되는지 여부를 확인할 수 있다. At operation 915, the gateway 203 may check whether a protected information token is present in the service request and, if so, whether the protected information token is included in the protected information of the corresponding data flow.

실시예에 따르면, 보호 정보 토큰이 데이터 플로우의 보호 정보에 포함되면, 게이트웨이(203)는 보호 정보 토큰에 기반하여 탐색된 인가된 대상의 보호 정보(예: 서비스 서버가 노드(201)에 서비스 요청 결과를 반환하는 경우 게이트웨이(203)에서 제거하고 반환해야 할 보호 정보, 제거하고 반환해야 할 보호 정보를 게이트웨이(203)의 데이터 플로우에 갱신 또는 저장해야하는지 여부, 노드(201)에서 서비스 요청이 존재하는 경우, 서비스 결과를 반환했을 때 게이트웨이(203)에서 제거하였던 보호 정보 중 데이터 플로우에 저장 또는 갱신하였던 보호 정보 중 다시 삽입해야할 보호 정보, 서비스 접속시 게이트웨이(203)를 통해서 인증 필요 여부를 확인하고 인증 서버로 리다이렉션하는 경우 또는 서비스 서버가 인증 서버로 서비스 요청을 리다이렉션하는 경우 인증 과정에서 식별된 상호 다른 두 도메인 간에 공유 또는 보호해야할 보호 정보, 보호 정보 토큰 생성 방식 및 알고리즘 정보)에 따라서 서비스 요청 정보의 프로토콜에 적합한 부분(예: HTTP의 경우 헤더 및 바디 영역)에 서비스 서버에서 식별 및 처리할 수 있는 보호 정보를 삽입할 수 있다. According to an embodiment, when the protected information token is included in the protected information of the data flow, the gateway 203 sends the protected information of the authorized target discovered based on the protected information token (e.g., the service server requests a service to the node 201). When returning a result, the protection information to be removed and returned from the gateway 203, whether the protection information to be removed and returned should be updated or stored in the data flow of the gateway 203, and whether a service request exists in the node 201. In this case, when the service result is returned, among the protection information removed from the gateway 203, among the protection information stored or updated in the data flow, the protection information to be reinserted is checked and whether authentication is required through the gateway 203 when accessing the service. When redirecting to a server or when a service server redirects a service request to an authentication server, the service request information is redirected according to the protection information to be shared or protected between two mutually different domains identified during the authentication process, protection information token generation method, and algorithm information). Protected information that can be identified and processed by the service server can be inserted into parts appropriate for the protocol (e.g., header and body areas for HTTP).

실시예에 따르면, 게이트웨이(203)는 데이터 플로우의 인증 정보에 포함된 인증 정보 생성 알고리즘 및 보호 정보에 기반하여 인증 정보를 생성할 수 있다. 실시예에 따르면, 게이트웨이(203)는 인증 정보에 포함된 암호화 알고리즘 및 암호화 키로 인증 정보를 암호화할 수 있고, 암호화된 인증 정보와 데이터 플로우 식별 정보를 결합한 데이터 플로우 헤더를 서비스의 프로토콜 규격에 따라서 서비스 요청 정보에 삽입할 수 있다. According to an embodiment, the gateway 203 may generate authentication information based on the authentication information generation algorithm and protection information included in the authentication information of the data flow. According to the embodiment, the gateway 203 may encrypt the authentication information with an encryption algorithm and an encryption key included in the authentication information, and provides a data flow header combining the encrypted authentication information and data flow identification information according to the service protocol standard. Can be inserted into request information.

실시예에 따르면, 게이트웨이(203)는 서비스 제공자가 사전에 설정한 정보로써 게이트웨이(203)를 통해서 삽입할 인가된 대상의 보호 정보(예: 노드의 운영체제 및 기기 종류, 사용자 식별 정보, 보안 컴플라이언스 준수 정보, 인증서버로부터 수신된 일련의 정보 등 일반적인 서비스 프로토콜을 통해서 식별할 수 없는 정보)를 포함할 수 있다. 예를 들어, 인가된 대상의 보호 정보는 인가된 대상 여부 확인 및 이에 의해 컨트롤러가 사전에 식별한 일련의 정보, 컨트롤러가 사전에 식별한 일련의 정보를 삽입하는 방법으로써 헤더에 삽입할 것인지 바디에 삽입할 것인지를 결정하는 정보)를 서비스 프로토콜 규격에 따라서 서비스 요청 정보의 헤더 및 바디에 삽입하고 서비스 요청을 전송할 수 있다(동작 920). According to the embodiment, the gateway 203 is information set in advance by the service provider, and protects information of the authorized target to be inserted through the gateway 203 (e.g., node's operating system and device type, user identification information, security compliance compliance). It may include information that cannot be identified through general service protocols, such as information or a series of information received from an authentication server. For example, the protected information of an authorized target is determined by checking whether it is an authorized target and inserting a series of information previously identified by the controller, whether to insert it into the header or into the body. Information that determines whether to insert) may be inserted into the header and body of the service request information according to the service protocol standard and the service request may be transmitted (operation 920).

동작 920에서, 게이트웨이(203)는 인증 정보 및 보호 정보가 삽입된 서비스 요청을 서비스 서버로 포워딩할 수 있다. In operation 920, the gateway 203 may forward a service request containing authentication information and protection information to the service server.

실시예에 따르면, 게이트웨이(203)는 노드(201)에게 서비스 요청 결과를 반환하는 경우에 게이트웨이가 제거하고 반환한 보호 정보 중 데이터 플로우에 갱신한 보호 정보를 확인하고, 데이터 플로우에 갱신한 보호 정보를 서비스 요청에 삽입하여 서비스 요청을 전송할 수 있다(동작 920). According to the embodiment, when returning a service request result to the node 201, the gateway 203 checks the protection information updated in the data flow among the protection information removed and returned by the gateway, and updates the protection information in the data flow. The service request may be transmitted by inserting into the service request (operation 920).

즉, 본 문서에 개시된 일 실시예에 따른 게이트웨이(203)는 노드(201)와 관련된 보호 정보는 게이트웨이(203)에 존재하는 데이터 플로우에 갱신하여 보호하고, 서비스 서버에게 보호 정보를 전송하여 노드(201)가 인가된 대상임을 식별하고 서비스를 처리할 수 있도록 하는 구조를 제공할 수 있으며, 노드(201)로부터 다시 서비스 요청이 존재하는 경우, 데이터 플로우에 갱신된 보호 정보를 재삽입하여 서비스 서버로 포워딩함으로서 보호 정보를 노드(201)에 전송하지 않고도 노드(201)가 서비스 서버로부터 서비스를 제공받을 수 있도록 하는 네트워크 환경을 제공할 수 있다. That is, the gateway 203 according to an embodiment disclosed in this document protects the protection information related to the node 201 by updating it in the data flow existing in the gateway 203, and transmits the protection information to the service server to secure the node ( A structure can be provided that identifies the node 201 as an authorized target and processes the service. If there is a service request again from the node 201, the updated protection information is reinserted into the data flow and sent to the service server. By forwarding, it is possible to provide a network environment that allows the node 201 to receive services from the service server without transmitting protection information to the node 201.

도 10은 다양한 실시예들에 따른 서비스 요청 결과를 처리하기 위한 동작 흐름도를 도시한다. Figure 10 shows an operation flowchart for processing service request results according to various embodiments.

게이트웨이(203)는 서비스 요청 결과가 수신되는 경우, 서비스 요청에 삽입하였던 보호 정보가 노드(201)에게 반환되지 않도록, 보호 정보를 제거하고 노드(201)에게 포워딩함으로서 노드(201)의 네트워크 접속을 안전하게 제어할 수 있다. When the service request result is received, the gateway 203 secures the network connection of the node 201 by removing the protection information and forwarding it to the node 201 so that the protection information inserted in the service request is not returned to the node 201. It can be controlled safely.

동작 1005에서, 게이트웨이(203)에 포함된 프록시는 서비스 요청 결과를 수신할 수 있다. In operation 1005, a proxy included in the gateway 203 may receive a service request result.

동작 1010에서, 게이트웨이(203)는 서비스 요청 결과에 보호 정보 토큰이 존재하는지 확인할 수 있고, 보호 정보 토큰이 존재하면 보호 정보 토큰이 대응되는 데이터 플로우의 보호 정보에 포함되는지 여부를 확인할 수 있다. 실시예에 따르면, 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. In operation 1010, the gateway 203 may check whether a protection information token exists in the service request result, and if the protection information token exists, may check whether the protection information token is included in the protection information of the corresponding data flow. According to an embodiment, the protection information token may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

실시예에 따르면, 보호 정보 토큰이 데이터 플로우의 보호 정보에 포함되면, 게이트웨이(203)는 보호 정보 토큰에 기반하여 탐색된 인가된 대상의 보호 정보 중 데이터 플로우에 저장 및 갱신이 필요한 정보를 식별할 수 있고, 데이터 플로우의 인가된 대상의 보호 정보를 갱신 및 저장할 수 있다. 실시예에 따르면, 게이트웨이(203)는 저장 및 갱신을 위한 정보가 인증서버로 리다이렉션 한 결과 또는 상호 다른 두 도메인간에 공유 및 보호해야 할 보호 정보인 경우 연관되어 있는 데이터 플로우에 포함되어 있는 인가된 대상의 보호 정보도 같이 갱신 및 저장할 수 있다. According to an embodiment, when the protected information token is included in the protected information of the data flow, the gateway 203 identifies information that needs to be stored and updated in the data flow among the protected information of the authorized target discovered based on the protected information token. and the protection information of the authorized target of the data flow can be updated and stored. According to the embodiment, the gateway 203 is the result of redirection to the authentication server for information for storage and update, or when the information is protected information to be shared and protected between two different domains, the authorized target included in the associated data flow Protected information can also be updated and stored.

실시예에 따르면, 서비스 요청 결과에 보호 정보 토큰이 존재하지 않는 경우, 게이트웨이(203)는 새로운 보호 정보 토큰을 생성할 수 있다. 또한, 게이트웨이(203)는 데이터 플로우에 기반하여 인가된 대상의 보호 정보 중 데이터 플로우에 저장 및 갱신이 필요한 정보를 식별할 수 있고, 데이터 플로우의 인가된 대상의 보호 정보를 갱신 및 저장할 수 있다. 실시예에 따르면, 게이트웨이(203)는 저장 및 갱신을 위한 정보가 인증서버로 리다이렉션 한 결과 또는 상호 다른 두 도메인간에 공유 및 보호해야 할 보호 정보인 경우 연관되어 있는 데이터 플로우에 포함되어 있는 인가된 대상의 보호 정보도 같이 갱신 및 저장할 수 있다. According to an embodiment, if a protected information token does not exist in the service request result, the gateway 203 may generate a new protected information token. Additionally, the gateway 203 can identify information that needs to be stored and updated in the data flow among the protection information of the authorized target based on the data flow, and update and store the protected information of the authorized target of the data flow. According to the embodiment, the gateway 203 is the result of redirection to the authentication server for information for storage and update, or when the information is protected information to be shared and protected between two different domains, the authorized target included in the associated data flow Protected information can also be updated and stored.

실시예에 따르면, 게이트웨이(203)는 새로운 보호 정보 토큰을 생성하는 경우, 데이터 플로우에 포함된 보호 정보 토큰 생성 방식 및 알고리즘에 기반하여 보호 정보 토큰을 생성할 수 있다. According to an embodiment, when generating a new protected information token, the gateway 203 may generate the protected information token based on a protected information token generation method and algorithm included in the data flow.

동작 1015에서, 게이트웨이(203)는 인가된 노드(201)가 이전에 사용된 토큰을 재사용할 수 없도록 서비스 요청 결과에서 보호 정보 토큰을 제거할 수 있다. 이 경우, 게이트웨이(203)는 새로운 토큰이 생성되어 있으면 생성되어 있던 토큰을 서비스 요청 결과에 삽입할 수 있다(동작 1020). 다른 예를 들어, 게이트웨이(203)는 데이터 플로우의 보호 정보 토큰 생성 방식 및 알고리즘에 기반하여 갱신된 토큰을 생성하여 서비스 요청 결과에 삽입할 수 있다(동작 1020). 실시예에 따르면, 갱신된 토큰은 노드(201)가 서비스 요청을 다시 수행하는 경우 게이트웨이(203)에서 서비스 요청에 삽입할 보호 정보를 식별하는데 사용되는 토큰일 수 있다. At operation 1015, the gateway 203 may remove the protected information token from the service request result so that the authorized node 201 cannot reuse a previously used token. In this case, if a new token is generated, the gateway 203 may insert the generated token into the service request result (operation 1020). As another example, the gateway 203 may generate an updated token based on the protection information token generation method and algorithm of the data flow and insert it into the service request result (operation 1020). According to an embodiment, the updated token may be a token used to identify protected information to be inserted into the service request at the gateway 203 when the node 201 performs the service request again.

또한, 동작 1015에서, 게이트웨이(203)는 서비스 요청 결과 정보에 서비스 요청시 삽입하였던 데이터 플로우 헤더 정보 및 인가된 대상의 보호 정보가 존재하는 경우, 데이터 플로우 헤더 정보 및 인가된 대상의 보호 정보를 제거할 수 있다. Additionally, in operation 1015, if the data flow header information and the authorized target's protection information inserted at the time of the service request exist in the service request result information, the gateway 203 removes the data flow header information and the authorized target's protection information. can do.

동작 1025에서, 게이트웨이(203)는 갱신(또는 생성)된 보호 정보 토큰이 삽입된 서비스 요청 결과를 노드(201)에게 포워딩할 수 있다. In operation 1025, the gateway 203 may forward a service request result in which an updated (or generated) protection information token is inserted to the node 201.

도 11은 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. Figure 11 shows a signal flow diagram for control flow update according to various embodiments.

도 11을 참조하면, 동작 1105에서, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 11, in operation 1105, the access control application 211 may detect a control flow update event.

동작 1110에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. In operation 1110, the access control application 211 may request a control flow update from the controller 202 based on control flow identification information.

동작 1115에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120). In operation 1115, the controller 202 may check whether a control flow exists in a control flow table (e.g., control flow table 315 of FIG. 3) based on the received control flow identification information. Depending on the embodiment, when a control flow does not exist (e.g., when the connection is disconnected by another security system, when the connection is disconnected due to its own risk detection, etc.), the controller 202 determines that the connection of the node 201 is valid. Since this is not done, a connection failure result can be transmitted to the access control application 211 (operation 1120).

제어 플로우가 존재하는 경우, 컨트롤러(202)는 제어 플로우와 대응되는 데이터 플로우를 확인할 수 있다. If a control flow exists, the controller 202 can check the data flow corresponding to the control flow.

실시예에 따르면, 컨트롤러(202)는 제어 플로우에 포함된 갱신 시각을 업데이트하고, 해당 제어 플로우에 대응되는 데이터 플로우 정보를 탐색할 수 있다.According to the embodiment, the controller 202 may update the update time included in the control flow and search for data flow information corresponding to the control flow.

실시예에 따르면, 컨트롤러(202)는 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우 정보를 반환할 수 있다(동작 1120).According to an embodiment, the controller 202 may return the corresponding data flow information when re-authentication must be performed among the data flows or when there is a data flow that is no longer accessible (operation 1120).

동작 1125에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 불가능인 경우, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. In operation 1125, the access control application 211 of the node 201 may process the result of the response received from the controller 202. For example, the access control application 211 may block all network connections of the application when the control flow update result is impossible. For another example, the access control application 211 may update the data flow if the control flow update result is normal and updated data flow information exists.

도 12는 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 12 illustrates a signal flow diagram for disconnection according to various embodiments.

도 12를 참조하면, 동작 1205에서 노드(201)는 노드(201)의 종료, 접속 제어 애플리케이션(211)의 종료, 타겟 애플리케이션의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1210에서, 노드(201) 또는 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.Referring to FIG. 12, in operation 1205, the node 201 terminates the node 201, terminates the connection control application 211, terminates the target application, no longer uses the network connection, and collects information identified from the interworking system. Based on , at least one of the connection termination requests can be detected. In this case, in operation 1210, the node 201 or the access control application 211 may request the controller 202 to remove the control flow.

동작 1215에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. At operation 1215, the controller 202 may remove the identified control flow based on the received control flow identification information.

동작 1220에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다.In operation 1220, the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, node 201 can no longer connect to the destination network based on the removed data flow.

동작 1225에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다.In operation 1225, the controller 202 may request the gateway 203 to remove all data flows dependent on the removed control flow. The gateway 203 may remove the data flow, and thus data packets corresponding to the source network, destination network, and port information included in the removed data flow can no longer be transmitted.

도 13은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.Figure 13 shows a signal flow diagram for terminating application execution according to various embodiments.

도 13을 참조하면, 동작 1305에서, 노드(201)의 접속 제어 애플리케이션(211)은 실행 중인 애플리케이션의 종료 여부를 실시간으로 확인할 수 있고, 애플리케이션 실행 종료 이벤트를 감지할 수 있다.Referring to FIG. 13, in operation 1305, the access control application 211 of the node 201 can check in real time whether the running application is terminated and detect an application execution termination event.

실시예에 따라서, 접속 제어 애플리케이션(211)은 종료된 애플리케이션 식별 정보 및 PID(Process ID 및 Child Process ID Tree) 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. Depending on the embodiment, the access control application 211 may check whether a data flow corresponding to the terminated application identification information and PID (Process ID and Child Process ID Tree) information exists.

동작 1310에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 데이터 플로우 제거 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 종료된 애플리케이션의 식별 정보 또는 종료된 애플리케이션에 대응되는 데이터 플로우의 식별 정보를 컨트롤러(202)에게 전송하며 데이터 플로우 제거 요청을 수행할 수 있다. In operation 1310, the access control application 211 may request the controller 202 to remove a data flow. For example, the access control application 211 may transmit identification information of a terminated application or identification information of a data flow corresponding to the terminated application to the controller 202 and perform a data flow removal request.

동작 1315에서, 컨트롤러(202)는 제거 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 제거된 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다(동작 1320). 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다. At operation 1315, the controller 202 may delete the data flow for which removal has been requested. Additionally, the controller 202 may perform a removal request for the removed data flow to the gateway 203 (operation 1320). The gateway 203 may remove the data flow, and thus data packets corresponding to the source network, destination network, and port information included in the removed data flow can no longer be transmitted.

도 14는 다양한 실시예들에 따른 게이트웨이의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 14에 도시된 동작들은 도 2의 게이트웨이(203)를 통해 수행될 수 있다. FIG. 14 shows a flowchart explaining a gateway operation method according to various embodiments. The operations shown in FIG. 14 may be performed through the gateway 203 of FIG. 2.

동작 1405에서, 게이트웨이(203)는 노드로부터 서비스 요청을 수신할 수 있다. At operation 1405, gateway 203 may receive a service request from the node.

동작 1410에서, 게이트웨이(203)는 서비스 요청에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인할 수 있다. In operation 1410, the gateway 203 may confirm the existence of a data flow that corresponds to the service request and is authorized from an external server.

동작 1415에서, 게이트웨이(203)는 서비스 요청에 포함된 보호 정보 토큰이 데이터 플로우에 대응되는지 확인할 수 있다. In operation 1415, the gateway 203 may check whether the protection information token included in the service request corresponds to the data flow.

동작 1420에서, 게이트웨이(203)는 보호 정보 토큰이 데이터 플로우에 대응되면, 데이터 플로우에 기반하여 보호 정보 토큰에 대응되고 서비스 요청에 삽입할 보호 정보를 생성할 수 있다. 실시예에 따르면, 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성될 수 있다. In operation 1420, if the protection information token corresponds to the data flow, the gateway 203 may generate protection information corresponding to the protection information token based on the data flow and to be inserted into the service request. According to an embodiment, the protection information token may consist of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.

동작 1425에서, 게이트웨이(203)는 서비스 요청에 삽입할 보호 정보를 서비스 요청에 삽입하여 서비스 서버로 포워딩할 수 있다. In operation 1425, the gateway 203 may insert protection information to be inserted into the service request into the service request and forward it to the service server.

이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely an illustrative explanation of the technical idea disclosed in this document, and those skilled in the art in the technical field to which the embodiments disclosed in this document belong will understand without departing from the essential characteristics of the embodiments disclosed in this document. Various modifications and variations will be possible.

따라서, 본 문서에 개시된 실시예들은 본 문서에 개시된 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 문서에 개시된 기술 사상의 범위가 한정되는 것은 아니다. 본 문서에 개시된 기술 사상의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 문서의 권리범위에 포함되는 것으로 해석되어야 할 것이다. Accordingly, the embodiments disclosed in this document are not intended to limit the technical ideas disclosed in this document, but rather to explain them, and the scope of the technical ideas disclosed in this document is not limited by these embodiments. The scope of protection of the technical ideas disclosed in this document shall be interpreted in accordance with the claims below, and all technical ideas within the equivalent scope shall be interpreted as being included in the scope of rights of this document.

Claims (18)

게이트웨이에 있어서,
통신 회로; 메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
노드로부터 서비스 요청을 수신하고,
상기 서비스 요청에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고,
상기 서비스 요청에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되는지 확인하고,
상기 보호 정보 토큰이 상기 데이터 플로우에 대응되면, 상기 데이터 플로우에 기반하여 상기 보호 정보 토큰에 대응되고 상기 서비스 요청에 삽입할 보호 정보를 생성하고,
상기 서비스 요청에 삽입할 보호 정보를 상기 서비스 요청에 삽입하여 서비스 서버로 포워딩하고,
상기 노드에 서비스 요청 결과를 반환하는 경우, 상기 보호 정보 토큰을 상기 서비스 요청 결과에서 제거하고, 새로운 보호 정보 토큰을 생성하여 상기 서비스 요청 결과에 삽입하여 상기 노드에게 포워딩하도록 구성되고,
상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성되는, 게이트웨이.
In the gateway,
communication circuit; Memory; and
a processor operatively connected to the communication circuit and the memory, the processor comprising:
Receive service requests from nodes,
Confirm the existence of a data flow that corresponds to the service request and is authorized by an external server,
Verify that the protected information token included in the service request corresponds to the data flow,
If the protection information token corresponds to the data flow, generate protection information corresponding to the protection information token based on the data flow and to be inserted into the service request,
Insert the protection information to be inserted into the service request into the service request and forward it to the service server,
When returning a service request result to the node, remove the protection information token from the service request result, generate a new protection information token, insert it into the service request result, and forward it to the node,
The protected information token consists of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.
제 1 항에 있어서, 상기 프로세서는,
상기 데이터 플로우에 기반하여, 상기 노드에게 서비스 요청 결과를 반환하는 경우 상기 게이트웨이가 제거하고 반환한 보호 정보 중 상기 데이터 플로우에 갱신한 보호 정보를 확인하고,
상기 데이터 플로우에 갱신한 보호 정보를 상기 서비스 요청에 더 삽입하여 상기 서비스 서버로 포워딩하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Based on the data flow, when returning a service request result to the node, check the protection information updated in the data flow among the protection information removed and returned by the gateway,
A gateway, configured to further insert updated protection information in the data flow into the service request and forward it to the service server.
제 1 항에 있어서, 상기 프로세서는,
상기 데이터 플로우가 존재하지만 인증이 필요한 경우, 상기 데이터 플로우에 포함된 인증 정보에 기반하여 인증 서버로 리다이렉션 하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
If the data flow exists but requires authentication, the gateway is configured to redirect to an authentication server based on authentication information included in the data flow.
제 1 항에 있어서, 상기 프로세서는,
상기 서비스 요청이 외부 서버로부터 인가된 터널, 보안 세션, 논리적 연결 중 적어도 어느 하나를 통해서 수신되었는지 여부를 확인하고,
상기 서비스 요청의 목적지 네트워크의 식별 정보 또는 서비스 도메인 정보에 대응되는 데이터 플로우가 존재하는지 여부를 확인하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Check whether the service request was received through at least one of a tunnel, security session, or logical connection authorized from an external server,
A gateway, configured to determine whether a data flow corresponding to identification information or service domain information of a destination network of the service request exists.
제 1 항에 있어서, 상기 프로세서는,
상기 데이터 플로우에 포함된 인증 정보에 기반하여 서비스 요청에 삽입할 인증 정보를 생성하고,
상기 서비스 요청에 삽입할 인증 정보 및 상기 노드에 관련된 정보를 상기 서비스 요청에 더 삽입하여 상기 서비스 서버로 포워딩하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Generate authentication information to be inserted into a service request based on the authentication information included in the data flow,
A gateway, configured to further insert authentication information to be inserted into the service request and information related to the node into the service request and forward it to the service server.
제 5 항에 있어서,
상기 노드에 관련된 정보는,
상기 노드의 운영 체제, 상기 노드의 기기 종류, 상기 노드의 사용자 식별 정보, 보안 컴플라이언스 준수 정보 또는 인증 서버로부터 수신된 정보 중 적어도 어느 하나를 포함하는, 게이트웨이.
According to claim 5,
Information related to the node is:
A gateway comprising at least one of an operating system of the node, a device type of the node, user identification information of the node, security compliance information, or information received from an authentication server.
제 5 항에 있어서,
상기 노드에 관련된 정보는,
상기 노드가 인가된 대상인지 여부를 확인하기 위한 정보, 상기 외부 서버에서 상기 노드에 관련하여 식별한 정보 및 상기 노드에 관련된 정보를 삽입하는 방법을 포함하는, 게이트웨이.
According to claim 5,
Information related to the node is:
A gateway comprising a method of inserting information for confirming whether the node is an authorized target, information identified in relation to the node by the external server, and information related to the node.
제 5 항에 있어서, 상기 프로세서는,
상기 서비스 요청에 삽입할 인증 정보, 상기 서비스 요청에 삽입할 보호 정보 및 상기 노드에 관련된 정보를 상기 서비스 요청의 헤더 및 바디에 삽입하도록 구성된, 게이트웨이.
The method of claim 5, wherein the processor:
A gateway, configured to insert authentication information to be inserted into the service request, protection information to be inserted into the service request, and information related to the node into the header and body of the service request.
제 1 항에 있어서, 상기 프로세서는,
상기 데이터 플로우에 포함된 인증 정보 생성 알고리즘에 기반하여 서비스 요청에 삽입할 인증 정보를 생성하고,
상기 서비스 요청에 삽입할 인증 정보를 상기 데이터 플로우에 기반하여 암호화하고,
암호화된 인증 정보와 상기 데이터 플로우의 식별 정보를 결합한 데이터 플로우 헤더를 상기 서비스 요청에 삽입하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Generate authentication information to be inserted into a service request based on the authentication information generation algorithm included in the data flow,
Encrypt the authentication information to be inserted into the service request based on the data flow,
The gateway, configured to insert a data flow header combining encrypted authentication information and identification information of the data flow into the service request.
제 1 항에 있어서, 상기 프로세서는,
상기 서비스 서버로부터 서비스 요청 결과를 수신하고,
상기 서비스 요청 결과에 보호 정보 토큰이 포함되었는지 여부를 확인하고,
상기 서비스 요청 결과에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되는지 확인하고,
상기 서비스 요청 결과에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되면, 상기 서비스 요청 결과에 포함된 보호 정보 토큰에 대응되는 정보 중 상기 데이터 플로우에 갱신해야하는 정보를 식별하여 상기 데이터 플로우를 갱신하고,
상기 노드에게 서비스 요청 결과를 포워딩하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Receive a service request result from the service server,
Check whether the service request result includes a protected information token,
Check whether the protection information token included in the service request result corresponds to the data flow,
When the protection information token included in the service request result corresponds to the data flow, identify information that needs to be updated in the data flow among the information corresponding to the protection information token included in the service request result and update the data flow,
A gateway configured to forward service request results to the node.
제 10 항에 있어서, 상기 프로세서는,
상기 서비스 요청 결과에서 서비스 요청시 삽입하였던 보호 정보를 제거하고,
상기 노드에게 서비스 요청 결과를 포워딩하도록 구성된, 게이트웨이.
11. The method of claim 10, wherein the processor:
The protective information inserted at the time of the service request is removed from the service request result,
A gateway configured to forward service request results to the node.
제 10 항에 있어서, 상기 프로세서는,
상기 서비스 요청 결과에 보호 정보 토큰이 포함되지 않은 경우, 상기 데이터 플로우에 기반하여 새로운 보호 정보 토큰을 생성하여 상기 데이터 플로우에 갱신하고,
상기 데이터 플로우에 기반하여 상기 노드에게 서비스 요청 결과를 반환하는 경우 상기 게이트웨이가 제거하고 반환해야하는 보호 정보 중 상기 데이터 플로우에 갱신해야하는 보호 정보를 식별하여 상기 데이터 플로우에 보호 정보를 갱신하고,
상기 서비스 요청 결과에서 서비스 요청시 삽입하였던 보호 정보를 제거하고,
상기 노드에게 서비스 요청 결과를 포워딩하도록 구성된, 게이트웨이.
11. The method of claim 10, wherein the processor:
If the service request result does not include a protection information token, generate a new protection information token based on the data flow and update it in the data flow,
When returning a service request result to the node based on the data flow, identify protection information that needs to be updated in the data flow among the protection information that the gateway must remove and return, and update the protection information in the data flow,
The protective information inserted at the time of the service request is removed from the service request result,
A gateway configured to forward service request results to the node.
제 11 항 또는 제 12 항에 있어서, 상기 프로세서는,
상기 데이터 플로우에 기반하여 기반하여 상기 노드에게 서비스 요청 결과를 반환하는 경우 상기 게이트웨이가 제거하고 반환해야하는 보호 정보 중 상기 데이터 플로우에 갱신해야하는 보호 정보가 서로 다른 도메인 간에 공유 또는 보호되어야 하는 보호 정보인지 여부를 확인하고,
공유 또는 보호되어야 하는 보호 정보인 경우, 연관된 데이터 플로우에 포함된 보호 정보도 상기 데이터 플로우에 갱신하도록 구성된, 게이트웨이.
The method of claim 11 or 12, wherein the processor:
When returning a service request result to the node based on the data flow, whether the protection information that must be updated in the data flow among the protection information that the gateway must remove and return is protection information that must be shared or protected between different domains. Check and
The gateway, configured to also update protected information included in an associated data flow to the data flow if it is protected information that needs to be shared or protected.
서버에 있어서,
통신 회로; 데이터 베이스를 저장하는 메모리; 및 상기 메모리 및 상기 통신 회로와 작동적으로 연결되는 프로세서; 를 포함하고, 상기 프로세서는,
노드로부터 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 목적지 네트워크의 식별 정보를 포함하고,
상기 데이터 베이스에 기반하여 상기 노드가 상기 목적지 네트워크에 접속 가능한지 여부를 확인하고,
접속이 가능하면, 상기 데이터베이스에 기반하여 상기 노드가 상기 목적지 네트워크에 접속하기 위하여 논리적 연결 인증 기반 접속을 수행할지, 인가된 채널 또는 세션 기반 접속을 수행할지 상기 노드의 접속 방식을 결정하고,
게이트웨이와 상기 노드간 논리적 연결, 채널 또는 세션 중 적어도 어느 하나의 생성 가능 여부를 확인하고,
상기 노드가 상기 목적지 네트워크에 접속하기 위한 데이터 플로우를 생성하고,
상기 데이터 플로우를 상기 게이트웨이 및 상기 노드에게 전송하도록 구성되고,
상기 데이터 플로우는 인증 정보 및 상기 게이트웨이가 상기 노드에게 서비스 요청 결과를 반환하는 경우 상기 게이트웨이가 제거하고 반환해야하는 보호 정보 중 데이터 플로우에 갱신해야하는 보호 정보 및 상기 게이트웨이에서 생성할 보호 정보 토큰 생성에 관련된 정보를 포함하고,
상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성되고,
상기 보호 정보 토큰은 상기 게이트웨이에서 상기 서비스 서버에게 서비스 요청을 포워딩하는 경우 삽입되고, 상기 게이트웨이에서 상기 노드에게 서비스 요청 결과를 포워딩하는 경우 제거되고 새로운 보호 정보 토큰이 생성되어 삽입되는, 서버.
On the server,
communication circuit; memory to store the database; and a processor operatively connected to the memory and the communication circuitry; Includes, and the processor,
Receiving a network connection request from a node, the network connection request including identification information of a destination network of the node,
Check whether the node can connect to the destination network based on the database,
If connection is possible, determine the connection method of the node based on the database, whether the node performs a logical connection authentication-based connection or an authorized channel or session-based connection to connect to the destination network,
Check whether at least one of a logical connection, channel, or session can be created between the gateway and the node,
The node creates a data flow to connect to the destination network,
configured to transmit the data flow to the gateway and the node,
The data flow includes authentication information, protection information that must be updated in the data flow among protection information that the gateway must remove and return when the gateway returns a service request result to the node, and information related to the creation of a protection information token to be generated by the gateway. Including,
The protection information token consists of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server,
The protection information token is inserted when forwarding a service request from the gateway to the service server, and is removed and a new protection information token is generated and inserted when forwarding a service request result from the gateway to the node.
제 14 항에 있어서, 상기 프로세서는,
상기 데이터 베이스에 기반하여 인증 서버에게 추가 인증을 요청할지 여부를 확인하고,
추가 인증 요청이 필요한 경우, 상기 인증 서버에게 인증을 요청하여 인증 결과 및 인증 관련 정보를 수신하고,
상기 인증 관련 정보에 기반하여 데이터 플로우 식별 정보에 대응되는 데이터 플로우를 갱신하고,
갱신된 데이터 플로우를 상기 게이트웨이에게 전송하도록 구성된, 서버.
15. The method of claim 14, wherein the processor:
Based on the database, check whether to request additional authentication from the authentication server,
If additional authentication request is required, request authentication from the authentication server and receive authentication results and authentication-related information,
Update the data flow corresponding to the data flow identification information based on the authentication-related information,
A server configured to transmit an updated data flow to the gateway.
제 15 항에 있어서,
상기 인증 관련 정보는,
서비스가 상기 인증 서버를 통해서 인증된 대상의 서비스 요청에 대한 인증 정보를 확인하고 관련된 권한 정보를 수신하거나 보호 정보를 수신하기 위한 인증 토큰을 포함하는, 서버.
According to claim 15,
The above authentication-related information is:
A server including an authentication token for the service to verify authentication information for a service request of an authenticated target through the authentication server and receive related authorization information or protection information.
제 14 항에 있어서,
상기 데이터 플로우는 상기 노드에게 서비스 요청 결과를 반환하는 경우 상기 게이트웨이가 제거하고 반환해야하는 보호 정보 중 상기 데이터 플로우에 갱신해야하는 보호 정보가 서로 다른 도메인 간에 공유 또는 보호되어야 하는 보호 정보인지 여부에 관련된 정보를 더 포함하는, 서버.
According to claim 14,
When the data flow returns a service request result to the node, among the protection information that the gateway must remove and return, information related to whether the protection information that must be updated in the data flow is protection information that must be shared or protected between different domains. More including servers.
게이트웨이의 동작 방법에 있어서,
노드로부터 서비스 요청을 수신하는 동작;
상기 서비스 요청에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하는 동작;
상기 서비스 요청에 포함된 보호 정보 토큰이 상기 데이터 플로우에 대응되는지 확인하는 동작;
상기 보호 정보 토큰이 상기 데이터 플로우에 대응되면, 상기 데이터 플로우에 기반하여 상기 보호 정보 토큰에 대응되고 상기 서비스 요청에 삽입할 보호 정보를 생성하는 동작;
상기 서비스 요청에 삽입할 보호 정보를 상기 서비스 요청에 삽입하여 서비스 서버로 포워딩하는 동작; 및
상기 노드에 서비스 요청 결과를 반환하는 경우, 상기 보호 정보 토큰을 상기 서비스 요청 결과에서 제거하고, 새로운 보호 정보 토큰을 생성하여 상기 서비스 요청 결과에 삽입하여 상기 노드에게 포워딩하는 동작; 을 포함하고,
상기 보호 정보 토큰은 인가된 대상과 서비스 서버 간 보호해야할 정보의 흐름을 유지하기 위해 게이트웨이에서 처리하는 식별 정보로 구성되는, 방법.
In the method of operating the gateway,
An operation of receiving a service request from a node;
An operation of confirming the existence of a data flow corresponding to the service request and authorized from an external server;
Checking whether the protection information token included in the service request corresponds to the data flow;
If the protection information token corresponds to the data flow, generating protection information corresponding to the protection information token based on the data flow and to be inserted into the service request;
Inserting protection information to be inserted into the service request into the service request and forwarding it to the service server; and
When returning a service request result to the node, removing the protection information token from the service request result, generating a new protection information token, inserting it into the service request result, and forwarding it to the node; Including,
The protection information token is comprised of identification information processed by the gateway to maintain the flow of information to be protected between the authorized target and the service server.
KR1020230058708A 2023-05-04 2023-05-04 System for controlling network access and method of the same KR102588357B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230058708A KR102588357B1 (en) 2023-05-04 2023-05-04 System for controlling network access and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230058708A KR102588357B1 (en) 2023-05-04 2023-05-04 System for controlling network access and method of the same

Publications (1)

Publication Number Publication Date
KR102588357B1 true KR102588357B1 (en) 2023-10-13

Family

ID=88289694

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230058708A KR102588357B1 (en) 2023-05-04 2023-05-04 System for controlling network access and method of the same

Country Status (1)

Country Link
KR (1) KR102588357B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220051599A (en) * 2020-10-19 2022-04-26 삼성에스디에스 주식회사 Method and apparatus for verifying token
KR102449139B1 (en) * 2022-05-13 2022-09-30 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220051599A (en) * 2020-10-19 2022-04-26 삼성에스디에스 주식회사 Method and apparatus for verifying token
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102449139B1 (en) * 2022-05-13 2022-09-30 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Similar Documents

Publication Publication Date Title
KR102223827B1 (en) System for authenticating and controlling network access of terminal and method thereof
KR102460694B1 (en) System for controlling network access based on controller and method of the same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
KR102439881B1 (en) System for controlling network access based on controller and method of the same
KR102460691B1 (en) System for controlling network access based on controller and method of the same
KR102514618B1 (en) System for controlling network access based on controller and method of the same
KR102460696B1 (en) System for controlling network access based on controller and method of the same
JP7489147B2 (en) System and method for authenticating and controlling network connections of terminals - Patents.com
KR102460695B1 (en) System for controlling network access based on controller and method of the same
KR102495369B1 (en) System for controlling network access based on controller and method of the same
KR102446934B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102502367B1 (en) System for controlling network access based on controller and method of the same
KR102427663B1 (en) System for controlling network access based on controller and method of the same
KR102377248B1 (en) System for controlling network access based on controller and method of the same
KR102333553B1 (en) System for controlling network access based on controller and method of the same
KR102333554B1 (en) System for controlling network access based on controller and method of the same
KR102472554B1 (en) System for controlling network access based on controller and method of the same
KR102495370B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102446933B1 (en) System for controlling transmission and reception of file of application and method thereof
KR102407135B1 (en) System for controlling network access based on controller and method of the same
KR102358595B1 (en) System for controlling network access based on controller and method of the same
KR102588357B1 (en) System for controlling network access and method of the same
KR102588356B1 (en) System for controlling network access and method of the same
KR102545160B1 (en) System for controlling network access and method of the same
KR102583604B1 (en) System for controlling data flow based on logical connection identification and method of the same

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant