Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
JSON and Why I am glad security is the way it is with Web Services in IE - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.

News

Visual Studio Magazine Column Personal Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

JSON and Why I am glad security is the way it is with Web Services in IE

As I am working on our "AJAX with ASP.NET" book, I have had this one nagging question "Why can't I make a request against a web service on another server?"  I still don't have a specific answer, but as I have been reading and studying JSON, I am glad that this would cause a security violation.  With JSON, the data is converted from string communication format to something that a program may use by using the Javascript eval() command.  The Javascript eval() command executes all commands within the string object that is passed.  Thats why I am glad that this is happening.  If you are on a web site, then you implictly trust the site (obviously there are types of holes in that statement). To get what you want, you most likely want to use a JSON parser.  A JSON parser will only recognize and process JSON text.  Here is a JSON parser.

Wally

Posted: Nov 24 2005, 09:56 AM by Wallym | with 1 comment(s)
Filed under:

Comments

rbfigueira said:

Any free chapter to see ? :P
When the book it will be release ?

thanks
# November 25, 2005 11:26 AM