FWIW, the MIME type is easily modified too... hence the need to check inside the file to figure out what it really is. Does anyone do this? Rarely.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Great spirits have often encountered violent opposition from weak minds."
    --Einstein


On Oct 9, 2007, at 5:50 PM, Dean H. Saxe wrote:

Which is easily modified by anyone and everyone. You must check the MIME type on the server. Even better, look deeply into the file to determine what its file type is.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"I have always strenuously supported the right of every man to his own opinion, however different that opinion might be to mine. He who denies another this right makes a slave of himself to his present opinion, because he precludes himself the right of changing it."
    -- Thomas Paine, 1783


On Oct 9, 2007, at 9:37 AM, Tommy Geist wrote:

not sure if this is what you're asking but we use the
onchange event off the file anchor to call a
javascript function that pulls the file type off and
puts it in a hidden form variable.

Tommy Geist

--- Douglas Knudsen <[EMAIL PROTECTED]> wrote:

What about using a Flex widget for this?  The Flash
player can filter like
this.  Though I have not tried this in a other OS
before.  Check this out

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/ wwhelp.htm? context=LiveDocs_Book_Parts&file=17_Networking_and_communications_173 _6.html

one caveat, IIRC, the only mime type sent is

application/octet-stream

DK


On 10/8/07, Justin Haygood <[EMAIL PROTECTED]>
wrote:

Most operating systems I use other than Windows
don't filter files based
on
file type. This includes OS X and GNOME on Linux?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Cody Wehunt
Sent: Monday, October 08, 2007 8:03 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] Browser and File
Upload Filter?

Thanks that is what i thought.  However i disagree
with one
point.  Browsers
could
Interact with this dialog the same way other
applications do; they just
dont.


The terminology of files of type is windows
specific but i believe other
oses
support this as well but maybe with a different
name.
-----Original Message-----
From: "Tom McNeer" <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: 10/8/2007 5:57 PM
Subject: Re: [ACFUG Discuss] Browser and File
Upload Filter?

Cody,

On 10/8/07, Cody Wehunt <[EMAIL PROTECTED]> wrote:

 All the searching I have done on the net says
it is not possible.


True. The dialog box is the native OS file dialog,
and the browser cannot
send it information.

Besides, the "files of type" filter is
Windows-specific.

--
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560





-------------------------------------------------------------
Annual Sponsor FigLeaf Software -
http://www.figleaf.com

To unsubscribe from this list, manage your profile
@
http://www.acfug.org?fa=login.edituserform

For more info, see
http://www.acfug.org/mailinglists
Archive @
http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com


-------------------------------------------------------------






-------------------------------------------------------------
Annual Sponsor FigLeaf Software -
http://www.figleaf.com

To unsubscribe from this list, manage your profile
@
http://www.acfug.org?fa=gin.edituserform

For more info, see
http://www.acfug.org/mailinglists
Archive @
http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com


-------------------------------------------------------------








-------------------------------------------------------------
Annual Sponsor FigLeaf Software -
http://www.figleaf.com

To unsubscribe from this list, manage your profile
@
http://www.acfug.org?falogin.edituserform

For more info, see
http://www.acfug.org/mailinglists
Archive @
http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com


-------------------------------------------------------------






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?




-------------------------------------------------------------
Annual Sponsor FigLeaf Software -
http://www.figleaf.com

To unsubscribe from this list, manage your profile @

http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @
http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com

-------------------------------------------------------------






_____________________________________________________________________ _______________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @http:// www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to