Mercredi 02 Décembre 2026 12:47:55 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

Partial string comparison

A flawed check that matches only part of an identifier instead of requiring exact equality.

Partial string comparison checks whether one string matches only part of another, rather than requiring the complete values to be equal. This can be useful for searching or filtering, but it is unsafe when an identifier must select one exact record.

In cyber security, a partial match can cause software to authorize the wrong object or apply a destructive action to unintended data. For example, a quota-eviction routine that compares only the textual prefixes of DICOM Study Instance UIDs may delete a different study whose identifier begins with the same characters. Use exact equality for security-sensitive decisions such as authorization, deletion, replacement, and retention; validate identifiers consistently and test for values that share prefixes.

← index WIKICROOK