如何从Cookie获取基于用户名的密码? [英] how to get user name based password get from cookie?

查看:877
本文介绍了如何从Cookie获取基于用户名的密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,


如何从Cookie获取基于用户名的密码?

我无法清除该程序.
请任何一个参考示例.

Dear Sir,


how to get user name based password get from cookie?

I can not clear this program.
please any one refer example.

by mohan.

推荐答案

您的问题不是很清楚.您想将密码存储为Cookie吗?那将是一个非常糟糕的主意.密码不应该存储,尤其是在客户端,因为它们很容易受到破坏.
Your question isn''t very clear. You want to store a password as a cookie? That would be very bad idea. Passwords should not be stored, particularly on the client, they are very vulnerable to compromise.


除非您对整个站点进行加密(这对性能造成巨大影响),否则您应该假定发送的任何数据Cookie中的内容是公开的,并且会被试图闯入的人使用.请考虑一下.

尝试以下链接:
登录控件:如何设置Cookie的密码以登录contro的密码文本框 [ ^ ]
Unless you encrypt the whole site (which is a huge performance hit) you should assume that any data sent in cookies is meant to be public and will be used by someone trying to break in. Think about that.

Try the following link:
LogIn control: How can i set password from cookie to login contro''s password textbox[^]


这篇关于如何从Cookie获取基于用户名的密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆