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. Hi, I cant open the file after I click Write SD. I
View Tutorial          By: hassan at 2014-12-17 07:44:16

2. Who can send me the program and source to call thi
View Tutorial          By: Michael Chon at 2008-10-04 21:03:30

3. java use real world object ............
View Tutorial          By: yunus khan at 2012-12-07 08:24:47

4. I am still going through the tutorial, but it seem
View Tutorial          By: shadowwraith at 2011-06-08 08:00:57

5. I am getting this error with Minecraft; Feed the B
View Tutorial          By: LadyKianna at 2013-03-11 05:52:54

6. You talk about "dictionary order". How w
View Tutorial          By: Magnus A at 2010-08-31 22:58:06

7. thanks for this tutorial
View Tutorial          By: d3ptzz at 2009-08-03 23:38:57

8. hi everybody....

please use comm.j

View Tutorial          By: manoj at 2012-09-24 10:41:34

9. Can anybody tell the steps to go ahead with the ex
View Tutorial          By: shikha at 2009-11-03 10:42:34

10. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51