使用Fortify扫描时隐私冲突:堆检查(安全功能,数据流) [英] Privacy Violation When Scanned Using Fortify: Heap Inspection (Security Features, Data Flow)

查看:1103
本文介绍了使用Fortify扫描时隐私冲突:堆检查(安全功能,数据流)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Public ReadOnly Property User_Password_Hint() As String
       Get
           Return myUser_Password_Hint
       End Get
   End Property







请任何人帮助我解决此隐私权违规行为。




Please Anyone Help Me To Resolve This Privacy Violation.

推荐答案

它正在抱怨,因为您在对象的字符串中存储了与密码相关的内容。更改你的get方法直接从它存储的位置返回提示,而不是通过缩限器将它存储在私有变量中(我猜)。
It's complaining because you are storing something related to passwords in a string in your object. Change your get method to return the hint direct from where it is stored rather than storing it in a private variable via a constrictor (I'm guessing).


这篇关于使用Fortify扫描时隐私冲突:堆检查(安全功能,数据流)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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