What is MIME type "application/x-msaccess"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

application/x-msaccess is a MIME type for the MDB format used by Microsoft Access. It tells the system how to handle these database files.

This format stores structured data in a single file. It supports a relational data model and is key for managing data in desktop applications.

For more technical details and file behavior, check the MDB file extension reference.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/x-msaccess    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/x-msaccess">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/x-msaccess');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the application/x-msaccess MIME type used for?

This MIME type represents legacy Microsoft Access Database files, specifically those using the .mdb extension. It indicates to the operating system or web client that the file contains a relational database structure, including tables, queries, and forms created by older versions of Microsoft Access.

Which file extension is associated with application/x-msaccess?

The primary extension is .mdb. While newer Access databases use .accdb, application/x-msaccess is the standard identifier for the legacy format described on our file-extension/mdb page.

Is it safe to host application/x-msaccess files on a public web server?

No, exposing a raw .mdb file usually poses a significant security risk. If a user can download the file, they gain access to the entire database; it is better to place the file outside the web root and use a server-side language (like ASP.NET or PHP) to query specific data securely.

Can web browsers open application/x-msaccess files directly?

No, browsers like Chrome, Firefox, and Edge cannot render Microsoft Access databases natively. Instead of displaying the content, the browser will prompt the user to download the file to their local machine to be opened with desktop software.

How do I configure Apache to serve .mdb files correctly?

To ensure Apache serves the correct headers, add the following line to your .htaccess file or httpd.conf: AddType application/x-msaccess .mdb. This prevents the file from being treated as a generic binary stream.

How do I add support for this MIME type in Nginx?

You can add the type definition to your mime.types file or within a specific server block. Use the syntax types { application/x-msaccess mdb; } to ensure Nginx associates the extension with the correct content type.

What software is needed to open an application/x-msaccess file?

You primarily need Microsoft Access (part of the Microsoft Office suite) to open and edit these files. Alternatively, there are third-party viewer tools and ODBC drivers that allow other applications to read data from the .mdb format.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.