Comment on Tutorial - XML vs JSON in AJAX By Emiley J.



Comment Added by : Nazmun Sadat Khan

Comment Added at : 2009-01-29 21:48:26

Comment on Tutorial : XML vs JSON in AJAX By Emiley J.
Yes, you are right. But JSON is more dangerous that XML in many cases specially when the data comes from an untrusted site. Using the eval() function is an easy way to parse JSON data but it also executes JavaScript commands allowing an attacker to easily execute malicious javascript code.

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. This is really helpful.
View Tutorial          By: srikanth at 2009-03-11 08:04:04

2. thanks for providing information in a simple langu
View Tutorial          By: shailaja at 2010-09-01 03:50:41

3. The example program by itself doesn't solve any pu
View Tutorial          By: Fazal at 2008-03-17 21:23:10

4. i am getting following error

Error

View Tutorial          By: Pavan at 2009-11-26 21:31:22

5. Great article. The simple example used easily make
View Tutorial          By: Nikhil at 2009-11-13 08:38:41

6. How can I save the canvas edited by the user from
View Tutorial          By: pavan at 2014-10-14 08:26:55

7. Thank you very much for your help,
this co

View Tutorial          By: AA at 2011-09-09 14:24:45

8. Hi
I am newly in java. I have one dought.

View Tutorial          By: Dinakar at 2008-07-26 01:13:08

9. this is genius.
you are a master of recursi

View Tutorial          By: Chandler at 2010-03-26 09:56:08

10. hi Ashray P Shetty,
I want assistance in th

View Tutorial          By: Shabbir Manasawala at 2010-11-19 02:02:43