I cached one DataTable fetched from SQL Server 2005 through C# ASP .NET 4.0 Web App [around 50000 row 32 columns]..
Cache by mean is on Client-Side.
I want to know whether the DataTable is secure Or Insecure in the Cache?
If insecure than
- how to get that Data directly from cache and be viewed [not by my Web App as a non developer]
- how to secure the Data.
The data is as secure as the server and the web application are.
If someone has physical access to the box (or through RDP), they can always cause a memory dump and read the values directly from memory.
Depending on how it was written, the application might expose the full Cache.
If either of these are not concerns, you can consider the Cache to be secure.
Update:
Seeing as you are talking about client side – nothing on the client side can be considered completely safe. The client has physical access to their machine and therefor can do a memory dump and any number of other tricks (including direct memory inspection).
If the client does not need all of the data, only share the minimum required. Do not persist it.