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 am shahid i have made SMS application in j2me
View Tutorial          By: shahid khan at 2012-06-18 13:19:06

2. Its working ,,, gud stuff.
View Tutorial          By: Atul at 2011-07-21 10:34:44

3. we can write an abstract class without any abstrac
View Tutorial          By: keerthi at 2013-08-20 16:31:38

4. Simple and easy code..........
View Tutorial          By: mandalson at 2011-12-24 04:08:12

5. insert a value in excel is not a problem but inser
View Tutorial          By: durga at 2010-03-05 23:08:02

6. this is very good example.
View Tutorial          By: jyoti raman ray at 2010-10-13 22:17:09

7. i build j2me application for reading text file....
View Tutorial          By: ganesh at 2012-10-17 10:34:00

8. How would you use a switch statement to determine
View Tutorial          By: Shivak at 2013-09-27 01:48:41

9. Hi, I tried this code to send sms from my PC which
View Tutorial          By: Jothi at 2009-05-15 03:19:54

10. Good explanation, Thanks.
View Tutorial          By: bram at 2011-05-06 03:37:54