Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I want transfer data of a table from one database in sql to another database on other device. to do this I try to save data of my table to a xml file. then user can transfer this file to other computers and then save data on file to the same table on other database.

my problem is about security. how can I make exported data from table secure which user cant change data on file.
Posted
Updated 12-Feb-15 22:36pm
v3

1 solution

Use 
Convert.ToBase64String to write XML as base64 and 
Convert.FromBase64String to read from Base64
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900