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. keep it up!
View Tutorial          By: kamran at 2010-04-13 07:01:26

2. Gooooooooooodd !!!
View Tutorial          By: Digvijoyee at 2010-08-30 22:11:31

3. better..................
implements........

View Tutorial          By: sunny at 2012-01-04 17:30:12

4. Thanks for the code.

But I m having

View Tutorial          By: Mudassir at 2009-04-14 07:00:53

5. I have a mac book dual booting with snow leopard (
View Tutorial          By: david at 2015-06-27 15:33:07

6. I have a problem with PortInUseException. I wrote
View Tutorial          By: robert at 2009-12-28 08:37:49

7. i totally disagree with Gerardo Saldí[email protected] i
View Tutorial          By: Shivesh at 2009-09-24 23:46:42

8. Can u tall me about the job market of J2ME.
View Tutorial          By: mimdad07 at 2009-06-26 14:40:26

9. please send me basic programs in java with explana
View Tutorial          By: Rekha at 2013-04-14 03:55:51

10. good job.. i understand it clearly..
its in

View Tutorial          By: xmplexd at 2010-08-04 02:12:30