KR20010098202A - method for secure for exchanging e-document in the internet - Google Patents

method for secure for exchanging e-document in the internet Download PDF

Info

Publication number
KR20010098202A
KR20010098202A KR1020000022970A KR20000022970A KR20010098202A KR 20010098202 A KR20010098202 A KR 20010098202A KR 1020000022970 A KR1020000022970 A KR 1020000022970A KR 20000022970 A KR20000022970 A KR 20000022970A KR 20010098202 A KR20010098202 A KR 20010098202A
Authority
KR
South Korea
Prior art keywords
key
web server
keypairgenerator
public key
security
Prior art date
Application number
KR1020000022970A
Other languages
Korean (ko)
Other versions
KR100638265B1 (en
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 KR1020000022970A priority Critical patent/KR100638265B1/en
Publication of KR20010098202A publication Critical patent/KR20010098202A/en
Application granted granted Critical
Publication of KR100638265B1 publication Critical patent/KR100638265B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • H04L9/3252Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures using DSA or related signature schemes, e.g. elliptic based signatures, ElGamal or Schnorr schemes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

웹 서버를 이용한 인트라넷 구현 시 전자문서의 교환이나 전자 결재에서 발생할 수 있는 보안 문제를 해결하기 위한 인터텟에서 전자 문서 교환을 위한 보안 방법이 개시된다. 본 발명은 DSA 키 쌍을 만들기 위한 시드로 사용되는 새로운 의사 랜덤 생성기 객체를 만들고, 100바이트짜리 의사 랜덤 숫자를 생성해서 KeyPairGenerator 객체를 구한다음 KeyPairGenerator 객체를 512 비트의 키 크기와 시드 랜덤 숫자로 초기화하고, KeyPairGenerator 객체에서 KeyPair 객체를 만든 후 KeyPair 객체의 비밀키와 공개키를 구하고, 이들을 각각 파일에 저장하는 키생성단계; DSA 키 생성자로생성한 키 중에서 공개키를 웹서버에게 전송하고, 클라이언트는 비밀키를 가지고 메지지를 서명한 다음 서명한 메시지를 웹서버에 전송하는 서명 생성 단계; 및 웹서버는 전송 받은 클라이언트 서명을 이전에 받은 공개키로 복호화 하고, 복호화 값이 등록된 사용자와 같으면 인증하는 서명인증단계를 포함한다.Disclosed is a security method for electronic document exchange in an internet to solve a security problem that may occur in an electronic document exchange or an electronic payment when implementing an intranet using a web server. The present invention creates a new pseudo random generator object used as a seed for generating a DSA key pair, generates a 100-byte pseudo random number, obtains a KeyPairGenerator object, and initializes the KeyPairGenerator object with a key size of 512 bits and a seed random number. Generating a keyPair object from a KeyPairGenerator object, obtaining a secret key and a public key of the KeyPair object, and storing them in a file; A signature generation step of transmitting a public key among the keys generated by the DSA key generator to the web server, the client signing the message with the secret key, and then sending the signed message to the web server; And the web server decrypts the received client signature with the previously received public key and authenticates if the decryption value is the same as the registered user.

Description

인터넷에서 전자 문서 교환을 위한 보안 방법{method for secure for exchanging e-document in the internet}Secure method for exchanging e-documents on the Internet

본 발명은 인터텟에서 전자 문서 교환을 위한 보안 방법에 관한 것으로, 특히 웹 서버를 이용한 인트라넷 구현 시 전자문서의 교환이나 전자 결재에서 발생할 수 있는 보안 문제를 해결하기 위한 인터텟에서 전자 문서 교환을 위한 보안 방법에 관한 것이다.The present invention relates to a security method for electronic document exchange in the Internet, and more particularly, to a security method for electronic document exchange in the Internet to solve the security problems that may occur in the exchange of electronic documents or electronic payment when implementing the intranet using a web server It is about.

일반적으로, 인터넷의 고속 성장으로 인하여 국내의 기업은 위기와 기회를동시에 맞이하고 있는 상황이다. 위기란 기업 간의 경쟁이 국내뿐만 아니라 국제적으로 점점 더 심화됨에 따라 국제적인 경쟁력이 없이는 자국 내에서조차 상품 팔 곳이 없다는 사실이고, 기회란 국제 경쟁력만 갖추면 전 세계의 소비자를 상대로 사업을 할 수 있다는 것이다.In general, due to the rapid growth of the Internet, domestic companies are facing crises and opportunities at the same time. The crisis is the fact that competition between companies is intensifying not only domestically but also internationally, so there is no place to sell goods even in the country without international competitiveness, and the opportunity is that if you have international competitiveness, you can do business with consumers all over the world.

이제 인터넷은 전 세계 어느 곳에 위치한 기업이건 자신의 동네에 있는 가계에서 물건을 구입하듯 거래 할 수 있도록 하는 유통 시스템의 기반이 되었다. 이러한 상황에서 기업은 국제적인 경쟁력을 갖추기 위해 비용 절감 및 생산성 향상의 필요성, 증가된 고객의 상품 및 서비스에 대한 요구 등 급속히 변화하고 있는 국제 시장 환경에 적응하여야 한다.The Internet is now the foundation of a distribution system that allows companies located anywhere in the world to trade as if they were buying something from a household in their neighborhood. In this situation, companies need to adapt to the rapidly changing international market environment in order to be internationally competitive, including the need for cost reduction and productivity improvement and increased customer demand for goods and services.

기업이 기존의 문서에 의한 의사교환 시스템을 가지고 사내 의사 결정을 하거나 전 세계의 고객을 상대로 서비스를 하기에는 그 제한성과 비신속성 때문에 현 시장 환경에 적응하기에 문제가 따른다. 그러므로 다양하고 방대한 시장에서 좀더 신속하게 의사 결정을 하고 고객에 대한 서비스를 함으로써 비용을 절감하고 전 세계 고객에게 상품을 홍보하고 판매할 수 있는 전자 결재 및 전자 주문 시스템이 이에 대한 최적의 해결책이라 할 수 있다. 그러나 이를 위한 인프라는 구축도 시급하지만 좀더 중요한 것은 정보의 기밀 유지 및 결재자의 인증에 대한 문제점의 해결이다.It is problematic for companies to adapt to the current market environment because of their limitations and inconsistencies in making in-house decision-making or serving customers around the world with existing documented communication systems. Therefore, an electronic payment and electronic ordering system that can reduce costs by making faster decisions and serving customers in a wide variety of markets, and promote and sell goods to customers around the world, is the best solution. have. However, the infrastructure for this is urgent to construct, but more importantly, the problem of confidentiality of information and authentication of the settlement agent is solved.

본 발명은 상기의 문제점을 해소하기 위하여 발명된 것으로, 인트라넷이 구축되지 않은 회사를 대상으로 인터넷을 통해 회사의 기본 업무 및 홍보를 할 수 있도록 웹서버 인트라넷 시스템 구축을 위해 시스템의 보안, 문서 암호화, 인증 방법을 제공하는 데 그 목적이 있다.The present invention has been invented to solve the above problems, security of the system, document encryption, to build a web server intranet system to enable the company's basic business and publicity over the Internet for companies that are not built intranet The purpose is to provide an authentication method.

도 1은 본 발명에 따른 보안방법의 적용예로서 본인의 공개키를 웹서버에 공시하는 것을 보여주기 위한 블록도이다.1 is a block diagram showing the disclosure of a public key to a web server as an application example of a security method according to the present invention.

도 2는 본 발명에 따른 보안방법의 적용예로서 문서를 전송할 사람의 공개키와 암호문 생성자를 웹서버에 가져와서 암호화된 문서와 대칭형 암호키 웹서버에 전송하는 것을 보여주기 위한 블록도이다.FIG. 2 is a block diagram illustrating an example of applying a security method according to the present invention to obtain a public key and a ciphertext generator of a person who sends a document to a web server and transmit the encrypted document and a symmetric encryption key web server.

도 3은 본 발명에 따른 보안방법의 적용예로서 전송된 암호문의 판독하는 것을 보여주기 위한 블록도이다.3 is a block diagram showing reading of a cipher text transmitted as an application example of a security method according to the present invention.

이와 같은 목적을 달성하기 위한 본 발명은The present invention for achieving the above object

DSA 키 쌍을 만들기 위한 시드로 사용되는 새로운 의사 랜덤 생성기 객체를 만들고, 100바이트짜리 의사 랜덤 숫자를 생성해서 KeyPairGenerator 객체를 구한다음 KeyPairGenerator 객체를 512 비트의 키 크기와 시드 랜덤 숫자로 초기화하고, KeyPairGenerator 객체에서 KeyPair 객체를 만든 후 KeyPair 객체의 비밀키와 공개키를 구하고, 이들을 각각 파일에 저장하는 키생성단계;Create a new pseudo-random generator object used as a seed to generate the DSA key pair, generate a 100-byte pseudo-random number to obtain a KeyPairGenerator object, initialize the KeyPairGenerator object with a 512-bit key size, and a seed random number, and then use a KeyPairGenerator object. A key generation step of obtaining a secret key and a public key of the KeyPair object after storing the KeyPair object in a file;

DSA 키 생성자로생성한 키 중에서 공개키를 웹서버에게 전송하고, 클라이언트는 비밀키를 가지고 메지지를 서명한 다음 서명한 메시지를 웹서버에 전송하는 서명 생성 단계; 및A signature generation step of transmitting a public key among the keys generated by the DSA key generator to the web server, the client signing the message with the secret key, and then sending the signed message to the web server; And

웹서버는 전송 받은 클라이언트 서명을 이전에 받은 공개키로 복호화 하고, 복호화 값이 등록된 사용자와 같으면 인증하는 서명인증단계를 포함한다.The web server includes a signature authentication step of decrypting the received client signature with the public key received previously and authenticating if the decryption value is the same as the registered user.

이하 첨부된 도면을 참조하여 본 발명의 바림직한 실시예를 상세히 설명하면 다음과 같다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

첨부된 도면중 도 1은 본 발명에 따른 보안방법의 적용예로서 본인의 공개키를 웹서버에 공시하는 것을 보여주기 위한 블록도이고, 도 2는 본 발명에 따른 보안방법의 적용예로서 문서를 전송할 사람의 공개키와 암호문 생성자를 웹서버에 가져와서 암호화된 문서와 대칭형 암호키 웹서버에 전송하는 것을 보여주기 위한블록도이며, 도 3은 본 발명에 따른 보안방법의 적용예로서 전송된 암호문의 판독하는 것을 보여주기 위한 블록도이다.In the accompanying drawings, Figure 1 is a block diagram for showing the public key of the public to the public as an example of the application of the security method according to the present invention, Figure 2 is an application of the security method according to the present invention. 3 is a block diagram showing a public key and a ciphertext generator of a sender to be sent to a web server and transmitted to an encrypted document and a symmetric cryptographic key web server, and FIG. 3 is a ciphertext transmitted as an application example of a security method according to the present invention. Is a block diagram to show reading.

웹을 이용한 기업 업무처리 지원 시스템을 위해서는 클라이언트/서버 환경의 각 구성 요소간 보안 방법을 분류하여 적절한 방법을 적용하여야 한다. 이를 위해 미국방성에서 제시한 오렌지 북과 레드 북의 보안 분류에 따라 업무를 분석하고 보안 방법을 적용한다. 이렇게 함으로써 웹 상으로 업무를 처리하는 기업의 불안감을 해소할 수 있다.For corporate business process support system using web, security method should be classified and applied to each component of client / server environment. To this end, we analyze the business according to the security classification of Orange Book and Red Book presented by the US Department of Defense and apply security methods. Doing so can alleviate the anxiety of companies doing business on the Web.

전자 문서 교환은 회사간 또는 회사 내의 업무 처리에 있어서 종래의 종이로 된 문서를 교환하는 대신에 컴퓨터로 처리할 수 있는 구조화되고 표준화된 양식으로 네트워크를 통하여 상호간의 자료를 교환하는 방식을 일컫는다. 이러한 전자 문서 교환에서 발생할 수 있는 보안상의 침해 유형으로는 문서의 도청, 변조, 위조 및 송수신 부인 등을 들 수 있다. 또한 전자 결재를 하기 위해서는 사용자 인증이 필요하다.Electronic document exchange refers to a method of exchanging data with one another through a network in a structured and standardized form that can be processed by a computer, instead of exchanging paper documents in a company or business. Types of security breaches that can occur in such electronic document exchanges include eavesdropping, tampering, forgery, and denial of transmission and reception of documents. In addition, user authentication is required for electronic payment.

사용자는 Telnet, FTP, SMTP, HTTP 서비스를 위해 TCP/IP를 기반으로 한 인터넷을 자주 이용하고 있다. 그러나 TCP/IP는 설계 당시 위에서 언급한 위험 요소를 고려하여 개발된 것이 아니고, 단지 데이터를 목적지까지 정확하게 전송할 목적으로 개발되었다. 따라서 TCP/IP를 사용하는 인터넷은 위에서 살펴본 위험요소에 매우 취약하다.Users frequently use the Internet based on TCP / IP for Telnet, FTP, SMTP, and HTTP services. However, TCP / IP was not developed at the time of design in view of the above mentioned risk factors, but only for the purpose of accurately transmitting data to its destination. Therefore, the Internet using TCP / IP is very vulnerable to the risks discussed above.

인터넷이 일반화되면서 네트워크를 이용해 중요한 정보를 전송하는 경우가 빈번해지고 있는데 TCP/IP의 보안 취약성으로 인해 제3자는 IP Sniffing과 같은 기법을 이용해 특정 사용자의 정보를 알아내는 것이 가능하다. 따라서 이러한 도청을 방지하기 위해서는 문서의 내용을 알아 볼 수 없도록 문서를 암호화하는 기밀성을 제공해야 한다.With the generalization of the Internet, it is frequently used to transmit sensitive information over the network. Due to the security vulnerability of TCP / IP, it is possible for third parties to find out the information of a specific user by using techniques such as IP Sniffing. Therefore, in order to prevent such eavesdropping, the confidentiality of the document should be provided so that the contents of the document cannot be recognized.

이와 같은 기밀성을 제공하기 위해 사용되는 전자 문서 암호화는 일반적으로 DES, IDEA, RC4 등과 같은 대칭키 암호 알고리즘을 사용한다. 이렇게 암호화함으로써 암호키를 알지 못하는 제3자는 네트워크를 도청하여 암호문을 입수할지라도 문서를 볼 수 없게 된다.Electronic document encryption used to provide such confidentiality generally uses symmetric key cryptographic algorithms such as DES, IDEA, RC4, and the like. This encryption prevents third parties who do not know the encryption key from seeing the document even if they can sniff the network and obtain the cipher text.

제 3자에 의해서 불법적인 전자 문서 변조를 방지할 수 있는 무결성이 제공되어야 한다. 이것은 전송할 전자 문서의 메시지 인증 코드를 생성하여 전자 문서와 함께 전송하는 기법을 통해 제공된다. 메시지 인증 코드를 생성하는 대표적인 알고리즘으로 MD5,SHA-1 등이 있다. 이 알고리즘은 전송할 전자 문서와 기밀성을 위해 사용되는 암호 알고리즘과 마찬가지로 송수신자가 서로 알고 있는 키를 이용해 해쉬 연산을 하여 메시지 인증 코드를 생성한다. 송신자는 전자 문서와 메시지 인증 코드를 함께 수신자에게 전송하는데, 수신자는 메시지의 변조 여부를 확인하기 위해 송신자와 마찬가지로 수신한 전자 문서와 키를 이용하여 메시지 인증 코드를 생성하여 송신자가 생성한 메시지 인증 코드와 비교한다. 이때 동일하다면 전송되는 도중에 변조가 없었음을 확인할 수 있다.Integrity must be provided to prevent illegal electronic document tampering by third parties. This is provided through a technique for generating a message authentication code of an electronic document to be sent and sending it with the electronic document. Representative algorithms for generating message authentication codes include MD5 and SHA-1. Like the encryption algorithm used for confidentiality and the electronic document to be sent, this algorithm generates a message authentication code by hashing the key using a key known to each other. The sender sends the electronic document and the message authentication code together to the receiver.The receiver generates a message authentication code by using the received electronic document and key, similar to the sender, to check whether the message has been tampered with. Compare with In this case, it can be confirmed that there is no modulation during transmission.

인터넷은 서로를 확인할 수 없는 가상 공간이라는 특성을 지니고 있어서 클라이언트와 서버는 서로에 대한 신뢰를 확보하기 매우 힘들다. 따라서 서버의 정보에 접근하는 사용자들을 통제하기 위해 클라이언트를 식별할 수 있는 기법이 필요한데 이것은 인증 서비스를 통해 가능하다. 이를 위한 패스워드 방식은 대부분의 시스템에서 불법적인 사용자의 이용을 일차적으로 차단하기 위해 가장 일반적으로 이용되고 있다. 또한 구매 주문서나 공문서와 같은 중요한 정보를 서로 교환하고자 할 때, 사용자 인증뿐만 아니라 서버 인증을 포함한 상호 인증 서비스를 제공해야 한다. 이러한 상호 인증은 X.509 공개키 인증서를 이용하는 방식이 대표적이다. 송신 부인을 막기 위해서 전자 문서를 전송할 때 종이 문서에 도장 또는 자필 서명을 이용하는 것처럼 전자서명을 함께 사용한다. 이러한 전자 서명은 자신 이외에는 만들 수 없는 정보로써 전자서명 생성키와 전자서명 검증키 한 쌍이 이용되는 보안기법이다. 송신자는 전자문서 작성 후 전자서명 생성키로 생성한 전자서명을 첨부하여 전송하고, 수신자는 송신자의 신원 및 수정, 변조 여부를 송신자의 전자서명 검증키로 쉽게 확인할 수 있다. 수신 부인은 전자서명 기법을 이용해 전자문서를 주고받는 응용계층 프로토콜에서 해결해야 한다. 즉 송신자가 전송한 전자 문서를 수신자가 받았는지를 확인할 수 있는 프로토콜을 구현하면 가능하다. 불법적인 제3자의 접근을 완전히 차단하거나, 서로 다른 중요도를 가지고 정보 및 시스템에 대해서 접근 권한을 달리 부여할 수 있어야 한다. 즉, 읽기만 또는 읽기와 쓰기도 가능하게 할 수 있어야 한다. 다수의 사용자가 이용하는 시스템에서 정보의 관리는 매우 중요하며, 또한 다양한 서비스가 제공될 경우 중요한 정보의 파괴는 치명적이다. 따라서 중요한 정보를 관리하는 시스템을 인터넷에 연결할 경우 침입차단시스템을 설치하여 불법적인 접근 또는 사용자의 오용을 막을 수 있어야 한다.The Internet is a virtual space that cannot see each other, so it is very difficult for the client and server to trust each other. Therefore, a mechanism to identify the client is needed to control users accessing the server's information. This is possible through the authentication service. Password schemes for this purpose are most commonly used to primarily block illegal users from most systems. In addition, when you want to exchange important information such as purchase orders or public documents, you must provide mutual authentication services including server authentication as well as user authentication. Such mutual authentication is typical of using an X.509 public key certificate. In order to prevent repudiation of transmission, electronic signatures are used together when sending electronic documents, like stamps or handwritten signatures on paper documents. This digital signature is a security technique that uses a pair of digital signature generation key and digital signature verification key as information that can not be made other than itself. The sender attaches the digital signature generated by the digital signature generation key after creating the electronic document, and the receiver can easily confirm the sender's identity, modification and tampering with the sender's digital signature verification key. The denial of receipt must be resolved in an application layer protocol for sending and receiving electronic documents using digital signature techniques. In other words, it is possible to implement a protocol that can verify whether the receiver has received the electronic document sent by the sender. It should be possible to completely block illegal third-party access, or to grant access to information and systems of different importance. That is, it should be possible to read only or to read and write. Information management is very important in a system used by a large number of users, and destruction of important information is fatal when various services are provided. Therefore, if a system that manages important information is connected to the Internet, an intrusion prevention system should be installed to prevent illegal access or misuse by users.

이상 설명한 보안 요구 사항들 모두가 전자 문서 교환과 전자 결재에 적용되어야만 하는 것은 아니다. 서버의 설치 환경과 그것을 운영하는 운영체제 그리고 구현하는 언어와 데이터베이스 엔진의 특징에 따라 달리 적용되어야 할 것이다.Not all of the security requirements described above should be applied to electronic document exchange and electronic payment. Depending on the installation environment of the server, the operating system on which it is run, and the features of the language and database engine to be implemented, it may be different.

본 발명은 전자문서교환과 전자결재시스템을 구현하기 위한 환경은 UNIX 운영체제에, 데이터베이스 엔진은 비용 면에서 MySql을 사용하고, 구현 언어는 서버 쪽의 데이터베이스 연동을 위해 PHP3를, 암호화를 위해 C++과 Java를 그리고 클라이언트 쪽의 암호화 엔진을 위해 JavaApplet을 사용하였다. 또한 하나의 웹서버 상에서 전자 문서를 교환하고 결재를 하기 때문에 여기에 맞는 보안 기법을 적용하였다.According to the present invention, the environment for implementing the electronic document exchange and electronic payment system is UNIX operating system, the database engine uses MySql in terms of cost, and the implementation language is PHP3 for server-side database interworking, C ++ and Java for encryption. We used JavaApplet for the client-side encryption engine. In addition, since the electronic documents are exchanged and approved on one web server, the appropriate security method is applied.

본 발명은 보안 서비스의 기밀성을 제공하기 위해 다음과 같은 방법을 적용한다. 전자 문서를 압축하기 위해서 ZIP 알고리즘을 사용한다. 압축을 할 때에는 암호화를 하기 전에 함으로써 암호화된 결과를 가지고 평문을 추측하는 행동을 더 어렵게 하고 전송 시간과 공간을 절약하는 이점이 있다. 대칭형 암호키를 사용하여 전송할 문서를 암호화한다. 암호키는 수신자의 공개키로 암호화하여 함께 보낸다.수신자 쪽에서는 자신의 비밀키를 이용하여 암호키를 알아낸 후 수신한 전자 문서를 복호화 한다. 압축된 전자 문서의 압축을 푼다.The present invention applies the following method to provide confidentiality of the security service. The ZIP algorithm is used to compress electronic documents. Compression has the advantage of making it harder to guess plain text with encrypted results by doing it before encryption and saving transmission time and space. Encrypt the document to be sent using a symmetric encryption key. The encryption key is encrypted with the recipient's public key and sent together. The recipient uses his secret key to find out the encryption key and decrypts the received electronic document. Extract the compressed electronic document.

전자 문서를 데이터베이스에서 관리하기 때문에 송신과 수신 여부를 바로 확인할 수 있고 그 문서를 수신자가 확인했는지 여부까지 송신자가 알 수 있도록 해준다. 이를 위해서 인트라넷에 로그인할 때 사용하는 사용자 ID와 패스워드는 MD5 알고리즘을 사용해서 메시지 인증 코드를 생성하고 이를 수신자의 공개키로 암호화한 후 전송하게 함으로써 불법 사용자가 인트라넷 가입자로 위장하는 것을 원천적으로 봉쇄한다. 또한 로그인한 클라이언트의 IP 어드레스를 등록하고 로그오프 할 때 삭제하도록 하여 로그온 한 해당 사용자의 컴퓨터만이 인트라넷에서 작업할 수 있도록 한다.Because the electronic documents are managed in a database, the sender can see immediately whether they are sent or received and whether the recipient has confirmed the document. To do this, the user ID and password used to log in to the intranet are essentially blocked from disguising an illegal user as an intranet subscriber by generating a message authentication code using the MD5 algorithm, encrypting it with the recipient's public key, and sending it. It also registers the IP address of the logged in client and deletes it when logging off so that only the logged on user's computer can work on the intranet.

전자 결재를 위해 암호화된 사용자 인증키를 사용하여 결재하도록 한다. 이 때 사용되는 인증과 전자 결재를 위해서 DSA와 해쉬 함수 MD5를 사용한다. 결재자는 결재 여부를 MD5로 생성하고 생성된 메시지를 자신의 비밀키로 암호화하여 전송한다. 그러면 인트라넷을 관리하는 서버는 수신된 메시지를 송신자의 공개키로 복호화하여 결재 여부를 문서에 표시하고 다음 결재자에게로 문서를 전달한다.Use the encrypted user authentication key for electronic payment. The DSA and hash function MD5 are used for authentication and electronic payment. The approver generates the approval by MD5 and encrypts the generated message with its private key and sends it. The server managing the intranet then decrypts the received message with the sender's public key to indicate whether or not to pay the document and forward the document to the next payer.

전자 문서에 보안 등급을 적용하여 보안 등급에 대한 허가자가 아닌 사용자는 접근할 수 없도록 한다. 이를 위해 각 문서에는 보안 등급을 부여한다. 데이터베이스 연동 부분을 PHP3로 작성함으로써 PHP3 언어가 갖고 있는 자체적인 보안 결함으로 인해 시스템이 침입 당할 소지가 있다. 이를 해결하기 위해 다음과 같은 방안을 적용하였다.By applying a security level to electronic documents, users who are not authorized by the security level cannot access it. To do this, each document is given a security rating. By writing the database interlocking part in PHP3, the system could be infiltrated by PHP's own security flaw. To solve this problem, the following measures were applied.

인트라넷을 제공하는 웹서버에 다른 사용자의 계정을 부여하지 않는 소극적인 방안이다. 이는 구축된 인트라넷을 이용하여 문서 교환이 가능하기 때문에 반드시 계정을 부여할 필요성이 없다는데서 적용할 수 있는 방안이다.This is a passive way of not giving another user's account to a web server that provides intranets. This is a method that can be applied in that it is not necessary to give an account because the document can be exchanged using the constructed intranet.

PHP3의 결함이 제3자가 코드를 판독함으로써 코드에 적혀있는 데이터베이스 명과 패스워드가 노출된다는 것이다. 이를 위해 PHP3로 작성된 프로그램에 데이터베이스 명과 패스워드를 기록하지 않고 암호화된 데이터베이스 명과 패스워드를 데이터베이스에 대한 트랜잭션 발생 순간만 생성해서 제공하고 데이터베이스 트랜잭션이 종료하는 순간 제거하는 방법을 적용하였다.A flaw in PHP3 is that a third party reads the code, exposing the database name and password written in the code. To do this, the program written in PHP3 does not record the database name and password. Instead, the encrypted database name and password are generated and provided only when the transaction occurs and the database transaction is terminated.

모든 입력을 하나의 문자열로 연결해서 붙이고, 입력의 서로 다른 단어들 사이의 중복된 공백 문자는 하나의 공백문자로 대치한다. 입력 문자열을 바이트 배열로 변환한다(MessageDigest 객체는 문자가 아닌 바이트에 대해서만 조작을 수행) MessageDigest 객체를 구한다. 구하는 알고리즘으로는 MD5를 사용한다. 입력 데이터로 MessageDigest 객체를 업데이트한다. 메시지 다이제스트를 계산한다. 메시지 다이제스트의 값은 항상 바이트 배열 폼이어서 사람이 읽을 수 없기 때문에 sun.misc.* 패키지의 BASE64Encoder 클래스를 사용해서 다이제스트를 base64 부호화 형식으로 변환한다. base64 부호화 형식으로 된 메시지 다이제스트를 출력한다. 즉, 도 1에서 보는 바와 같이 DSA 서명 알고리즘을 위한 키 생성순서는 ① 새로운 의사(pseudo) 랜덤 생성기 객체를 만들고, 100바이트짜리 의사 랜덤 숫자를 생성한다. 이 숫자는 DSA 키 쌍을 만들기 위한 시드로 사용된다. ② Java.Security.KeyPairGenerator의 SHA1withDSA를 사용해서 KeyPairGenerator 객체를 구한다. ③ KeyPairGenerator 객체를 512 비트의 키 크기와 시드 랜덤 숫자로 초기화한다. ④ KeyPairGenerator 객체에서 KeyPair 객체를 만든다. ⑤ KeyPair 객체의 비밀키와 공개키를 구하고, 이들을 각각 파일에 저장한다.Concatenate all the inputs into one string, and replace duplicate spaces between different words in the input with a single space. Convert the input string to an array of bytes (the MessageDigest object only operates on bytes, not characters). Get a MessageDigest object. The algorithm used is MD5. Updates a MessageDigest object with input data. Compute the message digest. Since the value of the message digest is always in the form of a byte array and is not human readable, the BASE64Encoder class in the sun.misc. * Package is used to convert the digest to base64 encoded format. Print a message digest in base64 encoded format. That is, as shown in FIG. 1, the key generation order for the DSA signature algorithm is: 1) Create a new pseudo random generator object and generate a 100-byte pseudo random number. This number is used as a seed to generate the DSA key pair. (2) Obtain a KeyPairGenerator object using SHA1withDSA of Java.Security.KeyPairGenerator. 3. Initialize the KeyPairGenerator object with a key size of 512 bits and a seed random number. Create a KeyPair object from the KeyPairGenerator object. Obtain the private and public keys of the KeyPair object and store them in a file.

또한, 도 2에서 보는 바와 같이 DSA 서명 생성순서는 ①DSA 키 생성자로생성한 키 중에서 공개키를 웹서버에게 전송한다. ② 클라이언트는 비밀키를 가지고 메지지를 서명한다. ③ 서명한 메시지를 웹서버에 전송한다.Also, as shown in FIG. 2, the DSA signature generation procedure transmits the public key to the web server among the keys generated by the DSA key generator. The client signs the message with its private key. ③ Send the signed message to the web server.

그리고, 도 3에서 보는 바와 같이 DSA 서명 확인순서는 ① 웹서버는 전송 받은 클라이언트 서명을 이전에 받은 공개키로 복호화 한다. ② 복호화 값이 등록된 사용자와 같으면 인증한다.And, as shown in Figure 3, the DSA signature verification procedure ① Web server decrypts the received client signature with the public key previously received. ② If the decrypted value is the same as the registered user, authentication is performed.

보안 문제가 해결되지 않고서는 인터넷으로 전자 문서를 송수신한다는 것이 중간에 침해가 있을 가능성과 사용자 인증 문제로 인해 쉽지 않을 것이다. 따라서 본 발명에서는 전자문서교환 시 기밀성을 위한 암호화 방법과 압축 방법을 개발하였고, 전자 결재를 위한 사용자 인증 키 생성과 결재 방법을 개발하였다. 그리고 로그인 시 IP와 지정된 IP 주소를 가지고 보안을 수행하는 방법도 개발하였다. 또한 데이터베이스와 연동하여 각종 자료의 보안 등급에 따라서 취급할 수 있는 사용자를 제한하도록 하였다. 이러한 보안 방법으로 인해 편리하면서도 적은 비용으로 중소 기업의 인트라넷 구축을 실현할 수 있도록 하였다.Without security issues, sending and receiving electronic documents over the Internet will not be easy due to the potential breach and user authentication issues. Therefore, the present invention has developed an encryption method and a compression method for confidentiality when exchanging electronic documents, and a user authentication key generation and payment method for electronic payment. We also developed a method to perform security with an IP and a specified IP address at login. In addition, by interworking with the database, users can be handled according to the security level of various data. These security measures enable small and medium businesses to build intranets at a convenient and low cost.

상술한 바와 같이, 본 발명은 인트라넷이 구축되지 않은 회사를 대상으로 인터넷을 통해 회사의 기본 업무 및 홍보를 할 수 있도록 웹서버 인트라넷 시스템 구축을 위해 시스템의 보안, 문서 암호화, 인증 방법을 제공하는 효과가 있다.As described above, the present invention provides a security, document encryption, and authentication method of the system for the construction of a web server intranet system to enable the company's basic business and publicity through the Internet for companies without an intranet. There is.

이상에서 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하였으나, 본 발명은 이에 한정되는 것이 아니며 본 발명의 기술적 사상의 범위내에서 당업자에 의해 그 개량이나 변형이 가능하다.Although the preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, the present invention is not limited thereto and may be improved or modified by those skilled in the art within the scope of the technical idea of the present invention.

Claims (1)

DSA 키 쌍을 만들기 위한 시드로 사용되는 새로운 의사 랜덤 생성기 객체를 만들고, 100바이트짜리 의사 랜덤 숫자를 생성해서 KeyPairGenerator 객체를 구한다음 KeyPairGenerator 객체를 512 비트의 키 크기와 시드 랜덤 숫자로 초기화하고, KeyPairGenerator 객체에서 KeyPair 객체를 만든 후 KeyPair 객체의 비밀키와 공개키를 구하고, 이들을 각각 파일에 저장하는 키생성단계;Create a new pseudo-random generator object used as a seed to generate the DSA key pair, generate a 100-byte pseudo-random number to obtain a KeyPairGenerator object, initialize the KeyPairGenerator object with a 512-bit key size, and a seed random number, and then use a KeyPairGenerator object. A key generation step of obtaining a secret key and a public key of the KeyPair object after storing the KeyPair object in a file; DSA 키 생성자로생성한 키 중에서 공개키를 웹서버에게 전송하고, 클라이언트는 비밀키를 가지고 메지지를 서명한 다음 서명한 메시지를 웹서버에 전송하는 서명 생성 단계; 및A signature generation step of transmitting a public key among the keys generated by the DSA key generator to the web server, the client signing the message with the secret key, and then sending the signed message to the web server; And 웹서버는 전송 받은 클라이언트 서명을 이전에 받은 공개키로 복호화 하고, 복호화 값이 등록된 사용자와 같으면 인증하는 서명인증단계를 포함하는 인터텟에서 전자 문서 교환을 위한 보안 방법The web server decrypts the received client signature with the previously received public key, and if the decryption value is the same as the registered user, the security method for electronic document exchange in the internet including a signature authentication step.
KR1020000022970A 2000-04-28 2000-04-28 method for secure for exchanging e-document in the internet KR100638265B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000022970A KR100638265B1 (en) 2000-04-28 2000-04-28 method for secure for exchanging e-document in the internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000022970A KR100638265B1 (en) 2000-04-28 2000-04-28 method for secure for exchanging e-document in the internet

Publications (2)

Publication Number Publication Date
KR20010098202A true KR20010098202A (en) 2001-11-08
KR100638265B1 KR100638265B1 (en) 2006-10-24

Family

ID=19667618

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000022970A KR100638265B1 (en) 2000-04-28 2000-04-28 method for secure for exchanging e-document in the internet

Country Status (1)

Country Link
KR (1) KR100638265B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100450950B1 (en) * 2001-11-29 2004-10-02 삼성전자주식회사 Authentication method of a mobile terminal for private/public packet data service and private network system thereof
KR100567724B1 (en) * 2002-02-26 2006-04-05 주식회사 소프트커널 Document security system and method thereof
KR20180058104A (en) * 2016-11-23 2018-05-31 부산대학교 산학협력단 System and Method for authenticating simultaneous of tree based multiple Internet of Things devices

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09223210A (en) * 1996-02-19 1997-08-26 Dainippon Printing Co Ltd Portable information storage medium and authentication method and authentication system using the same
JPH10111653A (en) * 1996-10-04 1998-04-28 Kokusai Gijutsu Kaihatsu Kk Digital signature method
KR100326226B1 (en) * 1998-02-26 2002-08-08 엘지전자주식회사 Method of Generating Matix Group Public Key
KR20000024445A (en) * 2000-02-15 2000-05-06 서형준 User Authentication Algorithm Using Digital Signature and/or Wireless Digital Signature with a Portable Device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100450950B1 (en) * 2001-11-29 2004-10-02 삼성전자주식회사 Authentication method of a mobile terminal for private/public packet data service and private network system thereof
KR100567724B1 (en) * 2002-02-26 2006-04-05 주식회사 소프트커널 Document security system and method thereof
KR20180058104A (en) * 2016-11-23 2018-05-31 부산대학교 산학협력단 System and Method for authenticating simultaneous of tree based multiple Internet of Things devices

Also Published As

Publication number Publication date
KR100638265B1 (en) 2006-10-24

Similar Documents

Publication Publication Date Title
US7475250B2 (en) Assignment of user certificates/private keys in token enabled public key infrastructure system
US20070174636A1 (en) Methods, systems, and apparatus for encrypting e-mail
US20050152542A1 (en) Public key encryption for groups
CN100566250C (en) A kind of point to point network identity identifying method
JP2008529044A (en) Secure encryption system, apparatus and method
US7660987B2 (en) Method of establishing a secure e-mail transmission link
Rongyu et al. A PK-SIM card based end-to-end security framework for SMS
Kuppuswamy et al. New Innovation of Arabic language Encryption Technique using New symmetric key algorithm
Kou Networking security and standards
CN116743470A (en) Service data encryption processing method and device
KR100638265B1 (en) method for secure for exchanging e-document in the internet
CN111539032B (en) Electronic signature application system resistant to quantum computing disruption and implementation method thereof
Prabhu et al. Security in computer networks and distributed systems
JP3583987B2 (en) Electronic authentication method and electronic authentication device
KR100377196B1 (en) System and method for key recovery using multiple agents
KR100337637B1 (en) Method for recovering a digital document encrypted
Gerberick Cryptographic key management
Qingping et al. Probe into E-commerce security technology
Ganley Digital signatures and their uses
Elahi et al. Introduction to Cryptography
Fathima et al. Secured Post Office Protocol for E-Commerce Application
Garceau et al. The electronic envelope
Gluck Protection of Electronic Mail and Electronic Messages: Challenges andSolutions
Assora et al. A web transaction security scheme based on disposable credit card numbers
Shepherd Lessons learned from security weaknesses in the Netscape World Wide Web browser

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee