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. w0w amazing
View Tutorial          By: elvin at 2009-01-05 01:00:13

2. In listing 6.2 I don't see the variable name itsAg
View Tutorial          By: JC at 2013-04-16 01:49:52

3. good.....not bad. .show me more programs.
View Tutorial          By: saranya at 2011-12-07 08:49:39

4. Your explanation is good and okay but, it will be
View Tutorial          By: Emmanuel at 2009-05-28 02:45:11

5. tnx .
View Tutorial          By: smokes at 2009-04-15 07:30:19

6. Good example to know the concept better.
View Tutorial          By: ARAVIND L at 2009-01-05 04:07:46

7. query:sorting date wise,and diplaying only resent
View Tutorial          By: ramakanth at 2011-08-23 06:49:02

8. Hi I too need the full program for understanding
View Tutorial          By: Sumanth at 2010-10-03 16:02:46

9. Assume scenario:
- i have set connection po

View Tutorial          By: Dan at 2012-02-22 09:48:46

10. can u please explain java scripts for menus.
View Tutorial          By: web designers in kerala at 2011-04-16 02:08:22