We help IT Professionals succeed at work.

SSL within a frame?

When you create a simple HTML frame like the code snippet attached is SSL effective for file or data transfers within/through the frame (and to/from the https site) if the frame src (see code snippet) is protected by SSL? I realize there is no visual confirmation of the certificate but wondered if there was security and at what point would it commence? If there is no security by this very simple means what are some ways to effectively accomplish what I have here (the ability to call, access, and use a site and display another URL path) in a direct, simple fashion?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FILE TRANSFER</title>
<frameset rows="1,*"" frameborder="NO" border="0" framespacing="0">
  <frame src="header.htm" name="topFrame" title="topFrame" >
  <frame src="https://transfiles.hackedoff.net/" name="mainFrame" title="mainFrame">

Open in new window

Watch Question

Top Expert 2005

I'm not sure I understand Your concern, but

If the main page was accessed via http:// the topFrame will be accessed with http as well (it will be accessed with same protocol as parent)
The mainFrame is always accessed with https.


My concern was (and this was raised by a supposedly competent and experienced IT person) if the file upload and download function occurs in/at the mainFrame source, using SSL, are the uploads and downloads inititated in the overall interface, accessed by the topFrame's URL, utilizing the SSL and therefore as secure as if there were no frames and you'd accessed the mainFrame source directly?
Top Expert 2005
If the upload/download is initialized from mainFrame, then it's secure, but
- topFrame can load another document into mainFrame using insecure http protocol
- the download/upload can explicitly direct the browser to insecure connection.

In general, being within secure document
<A HREF="images/whatever.pdf"> will load it via ssl
<A HREF="http://www.myhost.tld/images/whatever.pdf">  will load it with plain http

<FORM action="post.php"> will post data to secure link
<FORM action="http://www.myhost.tld/post.php"> will post data to insecure link

I hope I helped. Otherwise, please ask some more specific question.