. Net (thinking series on Web Application Security)

Source: Internet
Author: User
Thoughts on Web Application Security (sequence)
Abstract: I have had this experience in a company for a short period of time. On the first day of work, a Web colleague in the same group helped me open an account and asked me to go to the company's management system to check the company's rules and regulations.

Thoughts on Web Application Security (1)
Abstract: As we all know, the HTTP protocol is open, so anyone can send a request to a Web server exposed on the network, requiring a URL (Uniform Resource Locator ).

The request is only a large string that complies with the HTTP protocol (that is, the HTTP request syntax ).

Thoughts on Web Application Security (2)
Abstract: At the end of my thoughts on Web Application Security (I), I provided a general framework for permission control.

It has the following features:

1. It is an httpmodule

2. It captures the authorizerequest event.

3. It extracts the user ID (authentication) and judges whether the user has the right (authorization) in this event, as well as the processing action (rejection) that does not have the permission.

The design of our security control module is based on the three parts of the 3rd point...

Thoughts on Web Application Security (III)
Abstract: application security control includes the timing and method of control, that is, where or when to control the application, and the basis for permission control.

This article focuses on the nature of security control

Thoughts on Web Application Security (4)-A brand new permission Control Concept
Abstract: After reading the adaptive software ...... "Today, when we were working on a new system function permission restriction, I had a new idea. I don't know if it was a shift, welcome!
After that, we found that everyone is still very concerned about the system permissions. Therefore, before continuing to design my security module, we can use the system functions as the permission control method to achieve complete decoupling of system security. describes the solution.

I use an actual small order management system as an example to implement this permission design scheme. You are also welcome to propose your own permission Design Scheme for comparison.

Thoughts on Web Application Security (5) ---- everything is URL
Abstract: To determine whether a user has the permission to request resources, you must first know the resources requested by the user. So I abstracted the resource and called it URL. There are three URL presets ﹕

1. Request. path, which is the most basic form. For example, A. aspx, B/B. aspx, Ajax/C. ashx

2. Request. path with querystring, which increases the adaptability and flexibility of the permission control component (see the previous example ). Such as D. aspx? Kind = 1, C/E. aspx? Ismanage = y

3. Only request. path in a directory. This form facilitates some systems with simple permissions. Such as f/, g/h/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.