views:

22

answers:

1

I have a design question about parsing data in Silverlight. I need to allow my users to validate their csv data (they paste ten rows into a textblock), but I am not sure if I should attempt to do it on the client side where I don't have access to the textfileparser class or send the data to a webservice for validation. If I send it to a webservice how do I ensure the data is secure? Any help is appreciated.

Wade

+1  A: 

You can write JavaScript function to parse data on the client side itself. It should not be that complicated. Here is the link for the JavaScript:

http://stackoverflow.com/questions/1293147/javascript-code-to-parse-csv-data

If you decide not to do this you can send the data to the server and any decent browser will encrypt the data automatically for you.

maxthephilosopher