0

I've been looking for a way to store user specific data, the data needs to be securely stored so only the user who knows their username and password can access the data.

Each profile will have financial data stored against them and they will have to options to personalise how they view this data. So far I have been eyeing up storing such data in XML format.

To summarise: How can I securely store varying amounts of custom user data?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

2 Answers2

1

The Windows way to do it: http://msdn.microsoft.com/en-us/library/3ak841sy%28v=vs.80%29.aspx

If you combine this with encryption you should be pretty safe...

Yahia
  • 69,653
  • 9
  • 115
  • 144
0

Depends on the level of security you want to achieve. The basics is to use the user AppData directory; I would strongly advice to encrypt data using at least the .NET/Windows provided algorithm (http://msdn.microsoft.com/en-us/library/system.io.file.encrypt.aspx)

Lorenzo Dematté
  • 7,638
  • 3
  • 37
  • 77
  • Awesome, I was about the go looking for encryption methods :) Thanks! –  Jul 26 '11 at 14:21