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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. can i ask question? on how to make a statement by
View Tutorial          By: alas at 2012-09-27 00:42:08

2. hi this is from iniyan....
can you send t

View Tutorial          By: iniyan at 2007-09-09 06:50:18

3. it's very helpful for java beginner. thanks
View Tutorial          By: Pisal at 2012-12-03 05:00:54

4. What is a mean by maintaining the Session State of
View Tutorial          By: Saranya at 2011-05-14 13:17:42

5. I an going to try this code.
View Tutorial          By: Bhagawati Prasad at 2010-02-06 02:45:10

6. thanks for to solve my doubts
View Tutorial          By: puttaswamy B S at 2010-09-28 00:45:47

7. Good article..
View Tutorial          By: Sudarshan at 2011-03-28 02:57:53

8. Thanks...it was very helpful :)
View Tutorial          By: Swathi at 2012-01-25 06:49:46

9. can for statement be used in a switch statement fo
View Tutorial          By: Osei Quadwo at 2014-10-08 20:12:17

10. hi,
thier is an error coming with me when i

View Tutorial          By: Tarun at 2013-02-17 03:13:21