Overview
ISO/IEC 7816-7:1999 defines the interindustry commands for Structured Card Query Language (SCQL), a database query language based on SQL, for integrated circuit cards with contacts (commonly known as smart cards). Developed by ISO and IEC, Part 7 of the ISO/IEC 7816 series establishes the concept of a SCQL database and prescribes related enhanced commands that enable secure, interoperable management of card-resident databases across multiple applications and industries.
This standard enables smart cards to store, retrieve, and manage structured information through a standardized SQL-based interface, facilitating consistent data handling in identification cards used globally.
Key Topics
-
SCQL Database Model:
The standard introduces the SCQL database, comprising tables, views, and dictionaries. SCQL is based on the familiar SQL model (referencing ISO/IEC 9075), enabling powerful, flexible data operations directly on the card.
-
Database Objects:
- Tables: Structured with named columns and rows for data storage.
- Views: Logical subsets of tables for defining access restrictions (static or dynamic).
- Dictionaries: Read-only views on system tables used for management and access control.
-
User Profiles and Access Control:
User roles such as Database Owner (DB_O), Database Object Owner (DBOO), and Database Basic User (DBBU) are defined, with associated permissions ensuring security and controlled access.
-
Interindustry Commands:
Commands like CREATE TABLE, CREATE VIEW, INSERT, UPDATE, DELETE, and transaction management (BEGIN, COMMIT, ROLLBACK) are standardized as Application Protocol Data Units (APDUs), allowing for interoperability across card platforms.
-
Security Attributes:
Built-in mechanisms for user authentication and data confidentiality, ensuring that only authorized users may view or modify sensitive data stored on smart cards.
-
System Tables:
System-maintained tables (object, user, and privilege description) support core functions like defining database structure, user management, and privilege assignments.
Applications
ISO/IEC 7816-7 finds practical application in any environment requiring secure, structured card-based data storage and retrieval. Typical use cases include: