简体   繁体   中英

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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