Caching and security

I’m testing the asp.net 2.0 SqlDataSource caching options; caching works if you use the DataSet mode (not the dataReader); the framework then stores the internal dataset somewhere in the Cache object on the server (I still have  to check if it’s in tke kernel or not in the case of W2003); we could face some security issues with caching : indeed if you are using client impersonation and i you want each retrieval to the data to be verified by the security configurations for the database, do not use caching.
 
 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s