# サンプルコードを利用する前に

{% embed url="<https://player.vimeo.com/video/1024350540>" %}

1. **セキュリティの確保**:
   * パスワードまたはAPIキーは必ずハッシュ化して保存してください。ハッシュ化を行う場合は、強力なハッシュアルゴリズムを選択してください。
   * SQLインジェクションやクロスサイトスクリプティング（XSS）などの攻撃を防ぐために、ユーザーからの入力を適切にバリデーションおよびサニタイズしてください。
2. **セッション管理**:
   * セッションは、ユーザーの認証情報を保持するための重要な手段です。セッションハイジャックを防ぐために、セッションIDの再生成を行い、セキュアな接続（HTTPS）を使用することを推奨します。
3. **エラーハンドリング**:
   * エラーが発生した場合の処理を適切に行い、ユーザーにわかりやすいメッセージを表示してください。詳細なエラーメッセージを表示することは、攻撃者に情報を与えることになりますので注意が必要です。
4. **APIの使用**:
   * APIのエンドポイントが正しいことを確認し、APIキーが適切に設定されていることを確認してください。悪意のあるアクセスを防ぐため、APIキーの管理には十分な注意を払ってください。
5. **データの暗号化**:
   * 重要なデータは、通信中および保存中に暗号化することを考慮してください。特に個人情報を取り扱う場合は、データのセキュリティに細心の注意を払うべきです。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.mixeder.net/mixederpublicapis/sanpurukdowosuruni.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
