Protection method and system for general gateway interface service

A general gateway interface and service technology, applied in the protection field of the general gateway interface service, can solve problems such as misjudgment, impact on CGI service security, and high cost, and achieve the effect of ensuring security

Active Publication Date: 2017-07-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] This method has the following defects: it is necessary to establish a frequency limit system on the server, the development is complicated, a large storage space is required, and the cost is high, and it is judged whether to deny access based on the user's access record, which may cause misjudgment
[0010] The verification code technology greatly damages the user experience, especially in complex web applications, where a CGI service operation needs to initiate multiple CGI service requests to the server. Correspondingly, if these CGI service requests are protected by verification codes, users need Enter verification code multiple times
If the number of verification code verifications is reduced and only the first business request is verified, there will be malicious traversal behaviors in which the user modifies user name B and adds other users, or even adds multiple other users, during the second friend addition operation, resulting in CGI The security of the business is affected
[0011] It can be seen that although verification code technology can save development costs, it cannot guarantee security under the premise of reducing the number of verifications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Protection method and system for general gateway interface service
  • Protection method and system for general gateway interface service
  • Protection method and system for general gateway interface service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the embodiments and accompanying drawings.

[0030] The present invention uses an encrypted string to associate each CGI contained in a CGI service, carries the encrypted string when sending a service request, and the CGI verifies the encrypted string, so that it is not necessary to use the verification code verification technology every time, and the security of the CGI service is also guaranteed. safety.

[0031] see figure 1 , is an exemplary flow chart of the protection method of the CGI service of the present invention, which includes the following steps:

[0032] Step 101, the previous CGI receives the previous service request from the client, and feeds back the encrypted string to the client.

[0033] The former CGI and the latter CGI described in the present invention are two adjace...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a method and system for protecting CGI services of a general gateway interface, wherein the method includes: a previous CGI receives a previous service request from a client, and feeds back an encrypted string to the client; a latter CGI receives a subsequent service from the client request, verifying whether the encrypted string is included in the next service request, if yes, passing the verification and feeding back the second service response to the client. The solution of the invention can ensure the security of the general gateway interface service on the premise of reducing the verification times of the verification code.

Description

technical field [0001] The invention relates to security protection technology, in particular to a protection method and system for universal gateway interface services. Background technique [0002] Generally, a Common Gateway Interface (CGI, Common Gateway Interface) service is completed by cooperation of multiple CGIs on the server. CGI is on the server and provides an interface for the client to request data. [0003] For the convenience of description, a CGI service requires the cooperation of two CGIs on the server to complete the description below. The execution process of the CGI service includes: the client sends the first service request to the server, and CGI1 on the server executes the first service request. processing, returning the first service response to the server; the client sends the second service request to the server after receiving the first service response, and the CGI2 on the server processes the second service request and returns the second servi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
Inventor 熊义林
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products