<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>JSON 的安全性</title>
<link>http://blog.roodo.com/rocksaying/archives/2636558.html/</link>
<description><![CDATA[
JSON 是 JavaScript 語言的子集合，在 JavaScript 中透過 eval() 喚醒 JSON object 。但 eval()  是個泛用性功能，一句不當的 eval()  操作，足以讓惡意人士在 JSON 內容中植入可執行性敘述達成破壞目的。


此安全性狀況只發生在 JavaScript 中，而其他程式語言由於語法不同兼且多數透過專屬函數編碼與解碼 JSON ，反而無此顧慮。
]]>
	</description>
<language>zh-tw</language>
<generator>Roodo Blog System</generator>
<copyright>All Rights Reserved</copyright>
<atom:link href="http://blog.roodo.com/rocksaying/archives/2636558-comment.xml" rel="self" type="application/rss+xml" />
<item>
	<title>回應：JSON 的安全性</title>
	<description><![CDATA[我補充一下，「官方」是指 <a href='http://www.json.org/' rel='nofollow'>http://www.json.org/</a> 網站。
官方 json.js 在此: <a href='http://www.json.org/js.html' rel='nofollow'>http://www.json.org/js.html</a>]]>
	</description>
	<link>http://blog.roodo.com/rocksaying/archives/2636558.html</link>
	<guid>http://blog.roodo.com/rocksaying/archives/2636558.html#comment-3873414</guid>
		<category>文章回應</category>
	<pubDate>Tue, 23 Jan 2007 12:14:59 +0800</pubDate>
</item>
<item>
	<title>回應：JSON 的安全性</title>
	<description><![CDATA[include 官方 json.js 以後，可以調用 parseJSON()，這樣會比較方便。
如：var i = jsonString.parseJSON();]]>
	</description>
	<link>http://blog.roodo.com/rocksaying/archives/2636558.html</link>
	<guid>http://blog.roodo.com/rocksaying/archives/2636558.html#comment-3873051</guid>
		<category>文章回應</category>
	<pubDate>Tue, 23 Jan 2007 09:54:16 +0800</pubDate>
</item>
</channel>
</rss>