?
Solved

HTTPS - Why cannot retrieve application such as pdf, word, powerpoint etc via https!?

Posted on 2004-09-13
5
Medium Priority
?
196 Views
Last Modified: 2010-04-11
Hi there
Here is the scenario:
We can upload any type of the files via http or https to server and store them in our database. We also can successfully retrieve the files from the database and save them into the disc in the server(for testing).
BUT the server ONLY manage to send the IMAGES to Client browser and it fails if the file is an APLLICATION such as PDF, Word, PowerPoint etc. This problem occurs if we try to view the file via https however it is okey if we view them using http.

This is how we are getting the content of the file from the DB and sending it to client browser in ASP page. I have to mention that it works very well for any type of the files via HTTP:
 ...
  Response.ContentType = Mimetype   'eg:  "image/jpeg"

 set rs = EclairConnection.Execute( qryContent )
If Not rs.Eof then
      size = (4 * 1024) '4K
      set aField = rs(0)      
      chunk= aField.GetChunk(100)
      do while not isnull(chunk)                        
            Response.BinaryWrite chunk
            chunk = aField.GetChunk(size)
      loop                        
End If
set rs = nothing



So my Ques:
I was wondering if any setting needs to be changed in firewall (SSL) to avoid this problem?
OR
Do I need to add a special header in my ASP page using AddHeader method ?
OR
What do you think?

Cheers


0
Comment
Question by:Cyrus2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12054194
please check the HTTP header returned in the server's response.
If you don't have a browser to do that, simply use
   telnet your.server.tld 80

then you get a (empty) prompt type:
   GET /path/to/your/doc.pdf HTTP/1.0

(followed by 2 returns)
Please post the header you get.
0
 
LVL 1

Author Comment

by:Cyrus2k
ID: 12156807
I found the answer for this issue:
Please check out the following URL if you are interested:
http://support.microsoft.com/default.aspx?scid=kb;en-us;812935 
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12157843
nice info, points for you
(and my assumtion about the HTTP header wasn't that bad:)
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 15921380
PAQed with points (150) refunded

DarthMod
Community Support Moderator
0

Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
In this blog we highlight approaches to managed security as a service.  We also look into ConnectWise’s value in aiding MSPs’ security management and indicate why critical alerting is a necessary integration.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question