Content types
The content types rule element allows you to apply another layer of security to your access rules by limiting the rule application to specific types of content, based on the Multipurpose Internet Mail Extensions (MIME) type and file name extension.
Content type settings apply only to HTTP and tunneled FTP traffic which passes through Forefront TMG.
When a client requests HTTP content, Forefront TMG sends the request to the Web server. When the Web server returns the object, Forefront TMG checks the object's MIME type or its file name extension, depending on the header information returned by the Web server. Forefront TMG determines if a rule applies to a content type that includes the requested file name extension, and processes the rule accordingly.
When a client requests FTP content, Forefront TMG checks the file name extension of the requested object. Forefront TMG determines if a rule applies to a content type that includes the requested file name extension, and processes the rule accordingly.
Forefront TMG is preconfigured with the following content types that can be used in access rules. Preconfigured content types cannot be modified or deleted.
Content Type | Description |
---|---|
Application |
Used to control access to content containing applications, such as executables, dynamic-link libraries (DLL), .ole, and .vbs files. |
Application Data Files |
Used to control access to content containing data for applications, such as Perfmon, Help, and .wmf files. |
Audio |
Used to control access to content containing audio files, such as MP3 and WAV files. |
Compressed Files |
Used to control access to content including compressed files, such as .z and .zip files. |
Documents |
Used to control access to documents, such as text, Adobe PDF, and XML documents. |
HTML Documents |
Used to control access to content containing HTML documents, such as .xsl and .htm files. |
Images |
Used to control access to content containing images, such as Windows Bitmap, JPEG, and GIF files. |
Macro Documents |
Used to control access to documents that may contain macros, such as Microsoft Office Word and Microsoft Office Excel®. |
Text |
Used to control access to content containing text files, such as .txt and plain text files. |
Video |
Used to control access to content containing video files, such as .AVI, QuickTime, and MPEG files. |
VRML |
Used to control access to content containing VRML files, such as .flr and .wrl files. |
Depending on the Web server, different MIME types are associated with different file name extensions. The following table lists the Internet Information Services (IIS) default associations.
File name extension | MIME type |
---|---|
.hta |
application/hta |
.isp |
application/x-internet-signup |
.crd |
application/x-mscardfile |
.pmc |
application/x-perfmon |
.spc |
application/x-pkcs7-certificates |
.sv4crc |
application/x-sv4crc |
.bin |
application/octet-stream |
.clp |
application/x-msclip |
.mny |
application/x-msmoney |
.p7r |
application/x-pkcs7-certreqresp |
.evy |
application/envoy |
.p7s |
application/pkcs7-signature |
.eps |
application/postscript |
.setreg |
application/set-registration-initiation |
.xlm |
application/vnd.ms-excel |
.p7b |
application/x-cpio |
.cpio |
application/x-dvi |
.dvi |
application/x-pkcs7-certificates |
.doc |
application/msword |
.dot |
application/msword |
.p7c |
application/pkcs7-mime |
.ps |
application/postscript |
.wps |
application/vnd.ms-works |
.csh |
application/x-csh |
.iii |
application/x-iphone |
.pmw |
application/x-perfmon |
.man |
application/x-troff-man |
.hdf |
application/x-hdf |
.mvb |
application/x-msmediaview |
.texi |
application/x-texinfo |
.setpay |
application/set-payment-initiation |
.stl |
application/vndms-pkistl |
.mdb |
application/x-msaccess |
.oda |
application/oda |
.hlp |
application/winhlp |
.nc |
application/x-netcdf |
.sh |
application/x-sh |
.shar |
application/x-shar |
.tcl |
application/x-tcl |
.ms |
application/x-troff-ms |
.ods |
application/oleobject |
.axs |
application/olescript |
.xla |
application/vnd.ms-excel |
.mpp |
application/vnd.ms-project |
.dir |
application/x-director |
.sit |
application/x-stuffit |
.* |
application/octet-stream |
.crl |
application/pkix-crl |
.ai |
application/postscript |
.xls |
application/vnd.ms-excel |
.wks |
application/vnd.ms-works |
.ins |
application/x-internet-signup |
.pub |
application/x-mspublisher |
.wri |
application/x-mswrite |
.spl |
application/futuresplash |
.hqx |
application/mac-binhex40 |
.p10 |
application/pkcs10 |
.xlc |
application/vnd.ms-excel |
.xlt |
application/vnd.ms-excel |
.dxr |
application/x-director |
.js |
application/x-javascript |
.m13 |
application/x-msmediaview |
.trm |
application/x-msterminal |
.pml |
application/x-perfmon |
.me |
application/x-troff-me |
.wcm |
application/vnd.ms-works |
.latex |
application/x-latex |
.m14 |
application/x-msmediaview |
.wmf |
application/x-msmetafile |
.cer |
application/x-x509-ca-cert |
.zip |
application/x-zip-compressed |
.p12 |
application/x-pkcs12 |
.pfx |
application/x-pkcs12 |
.der |
application/x-x509-ca-cert |
application/pdf |
|
.xlw |
application/vnd.ms-excel |
.texinfo |
application/x-texinfo |
.p7m |
application/pkcs7-mime |
.pps |
application/vnd.ms-powerpoint |
.dcr |
application/x-director |
.gtar |
application/x-gtar |
.sct |
text/scriptlet |
.fif |
application/fractals |
.exe |
application/octet-stream |
.ppt |
application/vnd.ms-powerpoint |
.sst |
application/vndms-pkicertstore |
.pko |
application/vndms-pkipko |
.scd |
application/x-msschedule |
.tar |
application/x-tar |
.roff |
application/x-troff |
.t |
application/x-troff |
.prf |
application/pics-rules |
.rtf |
application/rtf |
.pot |
application/vnd.ms-powerpoint |
.wdb |
application/vnd.ms-works |
.bcpio |
application/x-bcpio |
.dll |
application/x-msdownload |
.pma |
application/x-perfmon |
.pmr |
application/x-perfmon |
.tr |
application/x-troff |
.src |
application/x-wais-source |
.acx |
application/internet-property-stream |
.cat |
application/vndms-pkiseccat |
.cdf |
application/x-cdf |
.tgz |
application/x-compressed |
.sv4cpio |
application/x-sv4cpio |
.tex |
application/x-tex |
.ustar |
application/x-ustar |
.crt |
application/x-x509-ca-cert |
.ra |
audio/x-pn-realaudio |
.mid |
audio/mid |
.au |
audio/basic |
.snd |
audio/basic |
.wav |
audio/wav |
.aifc |
audio/aiff |
.m3u |
audio/x-mpegurl |
.ram |
audio/x-pn-realaudio |
.aiff |
audio/aiff |
.rmi |
audio/mid |
.aif |
audio/x-aiff |
.mp3 |
audio/mpeg |
.gz |
application/x-gzip |
.z |
application/x-compress |
.tsv |
text/tab-separated-values |
.xml text/xml |
|
.323 |
text/h323 |
.htt |
text/webviewhtml |
.stm |
text/html |
.html |
text/html |
.xsl |
text/xml |
.htm |
text/html |
.cod |
image/cis-cod |
.ief |
image/ief |
.pbm |
image/x-portable-bitmap |
.tiff |
image/tiff |
.ppm |
image/x-portable-pixmap |
.rgb |
image/x-rgb |
.dib |
image/bmp |
.jpeg |
image/jpeg |
.cmx |
image/x-cmx |
.pnm |
image/x-portable-anymap |
.jpe |
image/jpeg |
.jfif |
image/pjpeg |
.tif |
image/tiff |
.jpg |
image/jpeg |
.xbm |
image/x-xbitmap |
.ras |
image/x-cmu-raster |
.gif |
image/gif |