Translations

Translations:Secure coding guidelines/39/zh-tw

From Joomla! Documentation

Revision as of 03:30, 6 January 2021 by Shawnhy (talk | contribs) (Created page with "==Constructing SQL queries== SQL Injection 是常見的網站攻擊類型之一,攻擊者會對輸入值管控不良的資料庫,修改資料庫請求的語法來破壞資...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructing SQL queries

SQL Injection 是常見的網站攻擊類型之一,攻擊者會對輸入值管控不良的資料庫,修改資料庫請求的語法來破壞資料庫。攻擊結果會造成資料庫內容被破壞,或是隱私資料外洩。因此,確保SQL語法結構被送出時,能夠被正確地使用 escape 以及 quote 過濾,是很重要的,這樣惡意輸入才不會構成惡意的 SQL 語法。您將不能倚靠JInput 方法來完成這件事,因為它並非 SQL-aware。