×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Is Your AJAX App Secure?

jabberwocky_rt Validation (142 comments)

Always validate what you run through eval()!

While not fool proof, making sure that what you got back from the server is JSON, and not a string of malicious code is paramount.

And guess what, such things already exist.

Granted, this doesn't prevent someone from embedding that same malicious code in valid object code that appears identical to what you expect as a server result, but its a huge step in the right direction.

more than 8 years ago

Submissions

jabberwocky_rt hasn't submitted any stories.

Journals

jabberwocky_rt has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?