简体   繁体   English

ASP.NET中的数据缓存安全问题

[英]Data caching security concerns in asp.net

well caching is a perfect way to speed up access to data which are public ( all users of website ) and frequently used. 良好的缓存是加快对公共(网站的所有用户)和经常使用的数据的访问的理想方法。 but what about data that are supposed to be accessed by a specific role ( eg just Administrators ) . 但是应该由特定角色(例如管理员)访问的数据呢?

is this sort of caching safe ? 这种缓存安全吗? is there any security related actions to do when using Data caching ? 使用数据缓存时,有什么安全措施可做吗?

The security issues for accessing sensitive data from the Cache are exactly the same as those when accessing sensitive data from any other source, eg a database. 从缓存访问敏感数据的安全性问题与从任何其他来源(例如数据库)访问敏感数据的安全性问题完全相同。

You just need to implement the appropriate authorization before exposing it to the user. 您只需要实施适当的授权,然后再将其公开给用户即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM