1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SQLインジェクションとXSS脆弱性を防ぐ方法

Posted at

はじめに

情報処理 安全確保支援士を勉強するにあたり、脆弱性周りについて過去にまとめたことを共有します。
Web エンジニアの基本的な内容ですが とても重要なことなので常に意識してプログラム製造したいですね。

SQL インジェクション

SQL インジェクションを防ぐ方法

  • SQL 文の組み立てにプレースホルダを利用する
  • テスト観点に脆弱性の検出パターンを入力値に含める

クロスサイトスクリプティング (XSS)

クロスサイトスクリプティング (XSS) を防ぐ方法

  • ユーザの入力値をエスケープしてスクリプトとしてブラウザが実行しないようにする

さいごに

この記事が他のエンジニアの助けになれば幸いです。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?