Skip to Content
図解まるわかり セキュリティのしくみ
book

図解まるわかり セキュリティのしくみ

by 増井 敏克
September 2018
Beginner to intermediate
224 pages
5h 33m
Japanese
Shōeisha
Content preview from 図解まるわかり セキュリティのしくみ
102
 ショッピングサイトなどを作るとき、商品の在庫状況や顧客情報など、
入力した内容をサーバ側に保存する必要があります。このときに使われる
のがデータベースです。データベースを使うことで、複数の利用者がアク
セスした場合にも整合性を確保できるだけでなく、データの検索や加工を
効率よく実行できます。
 このデータベースに対して、データの登録や更新、取得、削除などの操
作を行う処理は、 と呼ばれる言語を使って開発されています(図
4-8)。この SQL の記述を狙った攻撃が行われることがあります。
 SQLの構文は利用者には見えませんが、その処理には利用者からの入力
が含まれています。そこで、入力する内容に特殊な記号を含めることで、
アプリケーションが想定していない操作を不正に行うことができる場合が
あります。
 例えば、検索サイトであればキーワード、会員登録ならメールアドレス
やパスワード、商品の購入時であれば住所や注文数などを入力する場面が
あります。この入力に特殊な記号が含まれると、プログラムによってはデ
ータの改ざんや情報漏えい、システムの停止などにつながる可能性もあり
ます。
 このような脆弱性はと呼ばれており(図 4-9)、
多くの被害が発生していますが、利用者としてできる対策はありません。
開発者の無知によって発生する場合だけでなく、短納期で開発したことで
チェックが漏れている場合などがあります。サービス提供者としては、シ
ステム開発において攻撃が行われるしくみを理解して、 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

図解まるわかり クラウドのしくみ

図解まるわかり クラウドのしくみ

西村 泰洋
エンジニアが学ぶ会計システムの「知識」と「技術」

エンジニアが学ぶ会計システムの「知識」と「技術」

広川 敬祐, 五島 伸二, 小田 恭彦, 大塚 晃, 川勝 健司

Publisher Resources

ISBN: 9784798157252