Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Website routing access authority control method, and access method and system

An access authority and access system technology, applied in the field of communication, can solve the problems of increased server pressure, server downtime, frequent database access, etc., to avoid database pressure, and to achieve the effect of efficient authority verification.

Active Publication Date: 2017-09-08
北京森华易腾通信技术有限公司 +1
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, under this kind of user authority verification method and device, the server side queries and accesses user information in the database and verifies the access user's login authority, which will cause frequent access to the database, causing server pressure to increase. If there are users on the same time node When accessing and logging in to the WEB, when the multi-threaded task of the server reaches its peak or overflows, it may cause the server to go down, resulting in data loss, website inaccessibility, etc.

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
  • Website routing access authority control method, and access method and system
  • Website routing access authority control method, and access method and system
  • Website routing access authority control method, and access method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Such as figure 1 , the present invention a kind of website routing access authority control method, comprises the following steps:

[0048] Step S10, the verified user information is saved in the session control file.

[0049] The server receives the user login request to obtain the user name and the current URL address. For example, the user Zhang San enters the URL address on the client: http: / / 127.0.0.1:8080 / test, and enters the user name "Zhang San" on the login interface and the password "ABC123", the obtained URL address is http: / / 127.0.0.1:8080 / test, the user name is "Zhang San", and the password is "ABC123". And match it in the session file to verify whether the user information is in the session file. If there is information in the session file with the user name "Zhang San" and the password "ABC123", go to the next step. If not, the website will restart. Directed to login screen.

[0050] Step S20, when accessing the URL address for the first time, read all t...

Embodiment 2

[0078] Such as image 3 , the present invention is a session and database-based website routing access system, including:

[0079] The login module is used to receive user login requests.

[0080] The login module specifically includes:

[0081] The accepting request unit is used for the server to receive a user login request.

[0082] The user operates on the client, enters the URL address, and requests access to the URL address. User Zhang San enters the URL address on the client: http: / / 127.0.0.1:8080 / test, wants to access the URL address, and Enter the user name, password and other information on the web login prompt page.

[0083] The interceptor is used to intercept and obtain the user name and the current URL address.

[0084] The server receives the user login request and intercepts it through the interceptor at the same time. The interceptor obtains the user name and the current URL address. For example, the user Zhang San enters the URL address at the client: htt...

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 invention provides a website routing access authority control method, and an access method and system, and belongs to the field of communications. The method comprises the following steps: step S10, verifying user information and storing the user information in a session control file; and step S20, when accessing the address of a uniform resource locator for the first time, reading addresses of all uniform resource locators corresponding to the user information in a database, and storing the addresses of all uniform resource locators in the session control file; and when accessing the address of the uniform resource locator again, reading the session control file. The website routing access authority control method provided by the invention adopts a session control technology to save URL routing information stored in the database that a user has the right, and verifies the user access right in the session control file after a server receives a user login request; and the session control file is set with a data destruction cycle, when the user does not login after the first login access and the time interval from the login exceeds the data destruction cycle, then the user needs to login again.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and system for controlling website routing access authority based on session control and database. Background technique [0002] With the rapid development of Internet technology, World Wide Web (WEB) applications have brought more and more convenience to all aspects of our lives. Many parts of our lives are inseparable from the Internet. However, it is accompanied by website access security. sexual issues. In modern information systems, security management has always been an important part. The access control technology is an important part of the security information system, and its main task is to ensure that resources are not illegally used and accessed. During normal use, if there are security holes in the website, forced access, that is, access to unauthorized webpages, will cause data leakage and the website will be attacked. Therefore, controlling websit...

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
IPC IPC(8): H04L29/06
CPCH04L63/0876H04L63/108
Inventor 李昊
Owner 北京森华易腾通信技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products