Current Position:Home > Mime Types : application/octet-stream

Mime Types : application/octet-stream

Update:11-30Source: network consolidation
Advertisement
When using CFFILE, I am allowing "text/xml". Client is saving
MS Excel as XML. Many test done and has worked until today when the
error started occuring that the MIME type is not accepted. I do
understand that the "application/octet-stream" MIME type is
generated (sometimes) when a file is viewed or save in a word
process or spreadsheet application.
The question is ... are there security concerns if I allow
"application/octet-stream" MIME type to be uploaded to the server?
Any thoughts or conerns would be appreciated.
-jb

The Best Answer

Advertisement
The MIME type is provided by the client browser. Is the
browser posting an XML file and sending the MIME type as
pplication/octet-stream instead of text/xml? In Windows/Internet
Explorer MIME types and extensions are associated by a registry
entry. If you have access to the client's PC you may wish to check
this.
If you allow application/octet-stream you are opening
yourself up. I also recommend you check file extensions and only
accept uploads from trusted sources.
  • Mime Types : application/octet-stream Update:11-30

    When using CFFILE, I am allowing "text/xml". Client is saving MS Excel as XML. Many test done and has worked until today when the error started occuring that the MIME type is not accepted. I do understand that the "application/octet-stream&

  • Inbound Email Attachments with MIME type of application/octet-stream Update:10-11

    I'm hoping someone can help me here. I'm trying to start a BPEL process via email. The email can consist of no attachments or multiple attachments. All the attachments should be text, e.g. XML, CSV, etc. Where I have got to is receiving the email and

  • Get MIME type of file returns application/octet-stream for all but txt Update:11-30

    Eclipse 3.3.1.1, JRE 1.6.0_03, Tomcat 6.0, webwork 2.2.4 I've created a test upload/view file page. I can successfully upload and return the file to view. However, the content type is always application/octet-stream except for txt. String contentType

  • How to get at a mail of MIME type application/vnd.ms-excel? Update:10-11

    My java proggie has to deal with an email sent with Outlook '97 (don't ask me why it has to be that) and this email has the following header fields (see below). Now, my program works fine if the email has MIME type multipart/mixed. So, how do I have

  • Attachments (word docs and PDFs) to emails can not be opened by the receivers. Are received as .dat files or application/octet-stream Update:10-11

    Attachments I add to emails (word doc or PDFs) can not be opened by the email receivers. Word documents attachments are received with ATT00427.dat (application/octet-stream) or .doc with (application/octet-stream). PDF attached files arrive with .pdf

  • MIME TYPE ; application/vnd.ms-excel Update:10-11

    HI i have bsp page which i have declared mime type application/vnd.ms excel the idea is to download the entire contents in local machine . when i click generate excel i get 3 buttons open ,save ,cancel. how can i capture the event open in the page .a

  • MiMe type application plug in Update:11-30

    When i open the page i get this error:"The page “ONE - Israel's Sports Portal” has content of MIME type “application/x-oleobject”. Because you don’t have a plug-in installed for this MIME type, this content can’t be displayed." How do i get the

  • Trouble shooting- MIME type "application/x-shockwave-flash" Update:11-30

    I am experincing a problem with watching youtube videos. This problem is exactly like Subtitlemewrong's problem which stated... "I received only the December '07 update of Quicktime (7.4) and Security Update (2007-009 1.1). That's it. And then my lif

  • Content of MIME type "application/x-shockwave-flash" Update:11-30

    Hey, im not that advanced with this stuff but I keep on getting this message recently and I cannot remember any recent major downloads/updates: This page has content of MIME type "application/x-shockwave-flash", but you don't have a plug-in inst

  • MIME type “application/x-mplayer2” Update:11-30

    One URL I visit pops up a warning that I don't have a "MIME type 'application/x-mplayer2' plug-in installed, so I can't use certain portions of the site. Where can I find such a plug-in? Is it a popular plug-in that is used by other sites?I've never