Design defect in http plaintext transmission password and Password Storage Mode

Source: Internet
Author: User

Local Network http plaintext transmission password and password storage design defects details: 1 first, get plaintext http transmission is a big problem GET/v5/Ajax/A_checkUser.asp? U = 139 ******* 4 & p = n ****** 2 & jsoncallback = jsonp1364522933663 HTTP/1.1 Host: www. zhuna. cnUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv: 19.0) Gecko/20100101 Firefox/19.0 Accept: text/javascript, application/javascript ,*/*; q = 0.01Accept-Language: zh-cn, zh; q = 0.8, en-us; q = 0.5, en; q = 0.3Accept-Encoding: gzip, deflateX-Requested-: XMLHttpRequestReferer: http://www.zhuna.cn/1 This is the problem of the development of basic security knowledge, get method can not be used to transmit sensitive data 2 password transmission is best to use md5 encryption and stored in the database with salt proof of vulnerability: 2. This problem is serious. First, the user name and password are stored in cookies. The cookie keyword segment does not have httponly. The password is directly encrypted with md5, and the user name and password can be obtained directly through cookies, the problem is completely an architectural design problem. Cut a picture.Solution:

1. If you can use https for transmission, post is used for key transmission. Do not re-design key data plaintext transmission in get mode. 2 cookies. httponly should be added earlier. These are all the cornerstones.

Related Article

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.