この製品は、信頼できるデータと信頼できないデータを同じデータ構造または構造化メッセージに混在させる。
信頼の境界線は、プログラムに引かれた線と考えることができる。線の一方では、データは信頼されていない。線の反対側では、データは信頼できると仮定される。バリデーション・ロジックの目的は、データがトラスト・バウンダリーを安全に越えられるようにすることである。信頼境界違反は、プログラムが信頼できるものと信頼できないものとの境界線を曖昧にするときに発生する。信頼されるデータと信頼されないデータを同じデータ構造で組み合わせることで、プログラマーが誤って検証されていないデータを信頼しやすくなる。
The product mixes trusted and untrusted data in the same data structure or structured message.
A trust boundary can be thought of as line drawn through a program. On one side of the line, data is untrusted. On the other side of the line, data is assumed to be trustworthy. The purpose of validation logic is to allow data to safely cross the trust boundary - to move from untrusted to trusted. A trust boundary violation occurs when a program blurs the line between what is trusted and what is untrusted. By combining trusted and untrusted data in the same data structure, it becomes easier for programmers to mistakenly trust unvalidated data.