Provided are techniques for integrated masking for viewing of data. A record is encoded with a mask definition, wherein the mask definition describes which one or more portions of the record are to be hidden. A request to display the encoded record is received. The encoded record is displayed with the one or more portions of the record hidden based on the mask definition.
展开▼