# Filetype identification

**URL:** <https://forum.kirupa.com/t/filetype-identification/240036>\
**Category:** Uncategorized\
**Created:** [September 28, 2007, 1:41pm UTC](https://forum.kirupa.com/t/filetype-identification/240036 "2007-09-28T13:41:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Post date:** [September 28, 2007, 1:41pm UTC](https://forum.kirupa.com/t/filetype-identification/240036/1 "2007-09-28T13:41:21Z")

</div>

hello,

in actioncript 2.0 filereference, flash provides property to identofy type (extention), but if i rename the file with extention flash is fooled.

is there any way to read the actual type in flash itself, with actionscript 2/3

such that file type filter works securely.
