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. Thanks for the tutorial,

I have a q

View Tutorial          By: rajendra at 2013-04-29 15:37:28

2. great explaination !!!
View Tutorial          By: aman at 2012-10-02 06:55:55

3. This tutorial was absolutly amazing!
Simple

View Tutorial          By: Anita at 2009-05-09 06:29:21

4. Very good explanation along with the example. Can
View Tutorial          By: Divya at 2010-09-21 03:05:10

5. Thanks a lot for valuable program.


View Tutorial          By: Kailash at 2012-07-30 10:09:12

6. Comment: Just for future readers: (apart from the
View Tutorial          By: Anonymous at 2013-05-17 08:53:20

7. class loop8
{
public static voi

View Tutorial          By: ankush singh at 2011-11-04 16:26:36

8. Its really good and helpfull..........
chee

View Tutorial          By: sumit at 2009-04-28 05:17:17

9. give me the code
View Tutorial          By: roger at 2013-10-10 19:44:07

10. The only thing that really was the solution to my
View Tutorial          By: nick marinho at 2010-07-24 17:45:59