{"success":true,"data":{"ext":"accdb","name":"Microsoft Access 2007 file","description":"The ACCDB file format is a Microsoft Access database format developed and maintained by Microsoft for the Access 2007 and later application versions. It is used to store relational databases, including tables, queries, forms, reports, and application logic for business and desktop data management. It replaced the older MDB format; like other Office database files, it can contain macros and code, so files from untrusted sources should be opened with caution.","mime":["application/x-msaccess"],"risk_level":"Safe","signatures":[{"hex":"00 01 00 00 53 74 61 6E 64 61 72 64 20 41 43 45 20 44 42","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"00 01 00 00 53 74 61 6E","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["mdb","mdf","db","dbf","fdb","gdb"],"usage":{"python":"def is_accdb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ACCDB by magic bytes.\"\"\"\n    signature = bytes([0x00, 0x01, 0x00, 0x00, 0x53, 0x74, 0x61, 0x6E, 0x64, 0x61, 0x72, 0x64, 0x20, 0x41, 0x43, 0x45, 0x20, 0x44, 0x42])\n    with open(file_path, \"rb\") as f:\n        return f.read(19) == signature","node":"function isACCDB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x01, 0x00, 0x00, 0x53, 0x74, 0x61, 0x6E, 0x64, 0x61, 0x72, 0x64, 0x20, 0x41, 0x43, 0x45, 0x20, 0x44, 0x42]);\n  return buffer.subarray(0, 19).equals(signature);\n}","go":"func IsACCDB(data []byte) bool {\n    signature := []byte{0x00, 0x01, 0x00, 0x00, 0x53, 0x74, 0x61, 0x6E, 0x64, 0x61, 0x72, 0x64, 0x20, 0x41, 0x43, 0x45, 0x20, 0x44, 0x42}\n    if len(data) < 19 {\n        return false\n    }\n    return bytes.Equal(data[:19], signature)\n}"},"category":"Databases"}}