File extension filter when choosing file to upload
I was wondering if it is possible to filter files that are shown to user when he tries to upload file. Googling didn't help, it looks like everybody is rather concerned with file type validation only.
Here's a picture to give a better idea of what I mean: http://i.imgur.com/2dhjk.jpg
(sorry, don't have enough rep to post picture)

There was a similar question on stack overflow, but it is for c#: http://stackoverflow.com/questions/8976813/filter-file-extension-with-file-uploadcosmetic


  [1]: http://i.stack.imgur.com/bM8kU.jpg
File extension filter when choosing file to upload
===

I was wondering if it is possible to filter files that are shown to user when he tries to upload file. Googling didn't help, it looks like everybody is rather concerned with file type validation only.
Here's a picture to give a better idea of what I mean: http://i.imgur.com/2dhjk.jpg
(sorry, don't have enough rep to post picture)

There was a similar question on stack overflow, but it is for c#: http://stackoverflow.com/questions/8976813/filter-file-extension-with-file-uploadcosmetic


  [1]: http://i.stack.imgur.com/bM8kU.jpg