漏洞SSL Cookie Not Used需要怎么解决

ssssjsj3jsj 2012-03-19 05:14:23
检查网站漏洞的时候查出来了SSL Cookie Not Used的错误

提示解决的方法是下面这句话
This can be fixed by setting the proper http headers (e.g. no-cache).



下面还有错误的介绍,,请高手指点一下,这个需要怎么去做,,,

This policy states that any area of the website or web application that contains sensitive information or access to privileged
functionality such as remote site administration requires that all cookies are sent via SSL during an SSL session. The URL:
https://enet.11122.com:443/login.aspx has failed this policy. If a cookie is marked with the "secure" attribute, it will only
be transmitted if the communications channel with the host is a secure one. Currently this means that secure cookies will only
be sent to HTTPS (HTTP over SSL) servers. If secure is not specified, a cookie is considered safe to be sent in the clear over
unsecured channels.
...全文
450 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
jshi123 2012-03-27
  • 打赏
  • 举报
回复
是报哪个cookie有漏洞?试试这样:
Response.Cookies("xxx").Secure = True ' xxx是报漏洞的cookie的名字
laokaizzz 2012-03-26
  • 打赏
  • 举报
回复
oh,i am sorry ,这么多分,就便宜我算了,哈哈
ssssjsj3jsj 2012-03-23
  • 打赏
  • 举报
回复
在这个地方可以找到解决的方法,可是都是英语看不懂。

说第一步配置是
Step 1. Configure <forms protection="All" >

这个配置文件是Web.config中配置吗?

第二步配置,是在哪里完成?
Step 2. Use SHA1 for HMAC Generation and AES for Encryption
Review the <machineKey> settings to see what hashing algorithm and what encryption algorithms are used. The defaults of SHA1 and AES are recommended. Configuring as SHA1 uses the HMACSHA1 algorithm. SHA1 is preferred to MD5 hashing because it produces a larger hash size; therefore, it is considered to be more secure. AES is preferred to DES and 3DES because of its larger key sizes.

ASP.NET version 2.0 defaults to using SHA1 and AES. The following defaults are documented in the Machine.config.comments file.

<machineKey
validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps"
decryption="Auto"
validation="SHA1" />
ssssjsj3jsj 2012-03-20
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 laokaizzz 的回复:]
look this , do you have finded?
http://www-01.ibm.com/support/docview.wss?uid=swg21397023
[/Quote]

这个我也用百度搜索到这个网页了,,但是没看懂
laokaizzz 2012-03-19
  • 打赏
  • 举报
回复
look this , do you have finded?
http://www-01.ibm.com/support/docview.wss?uid=swg21397023
laokaizzz 2012-03-19
  • 打赏
  • 举报
回复
路过,帮顶,你是用什么来检测网站漏洞呢

62,267

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧