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. simply super post
View Tutorial          By: vinodh at 2010-05-05 00:29:12

2. It takes me time to understand the process of the
View Tutorial          By: Abdullah Ibrahim at 2012-04-11 00:38:23

3. Nice work sir... it was very easy to understand ke
View Tutorial          By: AsadUllah at 2012-11-20 19:05:29

4. Did you happen to import any certificates to execu
View Tutorial          By: Shashank at 2013-03-15 12:17:50

5. superb...thanks :-)
View Tutorial          By: sunny at 2010-11-10 07:20:25

6. In your AndroidManifest.xml file you will have to
View Tutorial          By: Ashley at 2011-07-21 02:47:49

7. Hi IDK,
You close any applications includin

View Tutorial          By: Steven at 2008-12-30 03:14:33

8. precisely the drawbacks I am trying to address in
View Tutorial          By: ernest at 2011-02-05 02:16:13

9. i have been trained in java stream. But i dont kno
View Tutorial          By: savio at 2013-01-23 10:15:51

10. thnks for the loop
View Tutorial          By: Benavidez,Jam at 2010-02-02 01:57:48