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. We migrated to office365 this morning and i was ab
View Tutorial          By: Muthukumaran at 2012-09-01 08:37:27

2. Hi,
can anyone show or send me a sample pro

View Tutorial          By: jsn10 at 2011-09-14 05:41:03

3. if i wanna push the data from my keyboard input, h
View Tutorial          By: andys at 2008-11-09 03:09:32

4. I am quite new to Struts and this article, quite c
View Tutorial          By: Jenghiz at 2010-01-27 23:19:48

5. Great tutorial
View Tutorial          By: Stephen at 2014-07-21 12:08:32

6. If i run this program----



View Tutorial          By: pratham at 2010-09-22 10:10:11

7. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

8. Dear author
u missed check condition for 0(

View Tutorial          By: Maroof Ahmad at 2012-03-28 14:59:53

9. plz,sent me a sample j2me programm for chnging col
View Tutorial          By: su at 2007-12-19 21:54:30

10. Thank you
View Tutorial          By: vbulletincoder at 2011-09-13 13:16:40