Running forum over an SSL

Author Message
Joe Stephenson
  • Total Posts : 7
  • Reward points : 0
  • Joined: Feb 27 '03
Running forum over an SSL - Thu. Mar 6, '03 3:32 PM
Hello Samuel,

We are running ASPPlayground over an SSL for our companies private Extranet. What we have been experiencing is the following message as users drill through the forum:

This page contains both secure and nonsecure items. Do you want to display the nonsecure items?

If you select Yes then the padlock is removed, if you select No then the padlock stays. The forum appears to continue in either case. The problem occurs in that users have to select Yes or No each time a page comes up with this problem. Is there a way that you know of in preventing this type of message pop-up window from happening.

Thanks

js

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Thu. Mar 6, '03 3:35 PM
IE seems to find iframe insecure. It is a known problem but currently I do not have a solution for it.

Note: this is not a security problem at all. It is IE' s behavior.
< Message edited by samuel -- 2003-03-06 15:47:10 >
ASPPlayground.net Developer

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Thu. Mar 6, '03 4:01 PM
After a quick search on google, I found a possible solution:

in tt.asp and m.asp:

Look for the iframe code at the bottom of both pages, and add a src attribute so that they read:

<iframe name=" bufferFrame" style=" display:none;" src=" blank.html" ></iframe>

and then create a page called blank.html in the forum' s root directory. You do not have to put anything in blank.html.

Please try it and see if it fixes the problem.
< Message edited by samuel -- 2003-03-06 16:02:45 >
ASPPlayground.net Developer

Joe Stephenson
  • Total Posts : 7
  • Reward points : 0
  • Joined: Feb 27 '03
RE: Running forum over an SSL - Thu. Mar 6, '03 4:18 PM
Hi Samuel,

This worked like a charm, no more pop-up. Thanks very much for your help.

js

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Thu. Mar 6, '03 4:25 PM
Thank you for your report too!

I will release a new patch containing this and the Opera 7 compatibility update.

Thanks
ASPPlayground.net Developer

Guest
RE: Running forum over an SSL - Sat. Oct 18, '03 8:41 AM
Hi Samuel!
I also solved my problem using this logic. Thanks.

Vijay .r

Guest
RE: Running forum over an SSL - Tue. Oct 21, '03 12:08 AM
Hi,

I'm facing the same Security Alert Problem when i invoke my asp page from an aspx,what should be the issue ,can anyone help in this.

Vanitha

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Tue. Oct 21, '03 12:21 PM
Are you saying you are "invoking" the forum from an ASPX application? What do you mean by invoking??
ASPPlayground.net Developer

Guest
RE: Running forum over an SSL - Wed. Jan 7, '04 7:53 AM
I came across another broblem...if you have hotlinks from your https site to 'unsecure' http site
(mine is something like this:)
Someones ICQ Status: <img onerror="this.src='images/icq_offline.gif';" src="http://web.icq.com/whitepages/online?icq=123456789&img=5">

with http rather than https address...

you will get the same message popping out i'm still looking for a solution to fix this...if anyone has any ideas please share

FreddyD
  • Total Posts : 816
  • Reward points : 30750
  • Joined: Mar 02 '02
  • Location: Louis Lake
RE: Running forum over an SSL - Wed. Jan 7, '04 10:01 PM
the only way - disallow someone to post http pics on an https site.

Guest
RE: Running forum over an SSL - Mon. Mar 14, '05 4:56 AM
<iframe name=" bufferFrame" style=" display:none;" src=" blank.html" ></iframe>

my first page on my site is my index page which has frames in it , and i have discovered that thats where the problem is (frames). so where do i put ur piece of code??

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Mon. Mar 14, '05 8:53 PM
I am not sure what you are referring to. We are talking about iframe here, not regular frames.
ASPPlayground.net Developer

jazzman
  • Total Posts : 4
  • Reward points : 0
  • Joined: May 13 '05
  • Location: Philadelphia, Pennsylvania
RE: Running forum over an SSL - Wed. Dec 28, '05 11:43 AM
Samuel,
 
With Content Advisor turned off on my browser, I'm encountering the old problem often discussed in this forum of the pop-up message "This page contains both secure and nonsecure items" on an SSL site, yet I see no cause of it. It happens here: https://www.ohio-academy-of-audiology.org/forum/tm.asp?m=1 Viewing the source yields no occurrence of "http" without the "s". Or are there some links hidden in the javascript routines that are called?
 
Lee

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Wed. Dec 28, '05 1:18 PM
it is the iframe used in "fast reply" (WYSIWYG editor) that causes IE to respond this way.
ASPPlayground.net Developer

jazzman
  • Total Posts : 4
  • Reward points : 0
  • Joined: May 13 '05
  • Location: Philadelphia, Pennsylvania
RE: Running forum over an SSL - Wed. Dec 28, '05 1:57 PM
Why? In what file is the code? And what can I do about it?
 
Lee

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Wed. Dec 28, '05 2:01 PM
"why" - I don't know why IE works this way either

what can I do about it - 1. don't enable fast reply for your forum or 2. don't use SSL for the forum
ASPPlayground.net Developer

jazzman
  • Total Posts : 4
  • Reward points : 0
  • Joined: May 13 '05
  • Location: Philadelphia, Pennsylvania
RE: Running forum over an SSL - Wed. Dec 28, '05 2:25 PM
If I don't enable fast reply, then I have to use Post Reply, which itself generates the same bothersome pop-up message. So now the question becomes: what in Post Reply is IE objecting to?  Apparently it's not an iframe problem again, or is it?
 
Lee

Samuel
  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
RE: Running forum over an SSL - Wed. Dec 28, '05 3:05 PM
it is an iframe problem. We use iframe too in "post reply" - this is part of the WYSIWYG editor.
ASPPlayground.net Developer

JodyG
  • Total Posts : 20
  • Reward points : 0
  • Joined: Mar 30 '06
RE: Running forum over an SSL - Wed. Apr 12, '06 6:21 AM
We resolved this by changing line 143 of rtejs/richtext.js from:
 document.writeln('<iframe id="' + rte + '" name="' + rte + '" style="width:' + width + 'px; height:' + height + 'px;" class="rteFrame" src=""></iframe>');

to
 document.writeln('<iframe id="' + rte + '" name="' + rte + '" style="width:' + width + 'px; height:' + height + 'px;" class="rteFrame" src="blank.html"></iframe>');
 

 
Make sure you have got a blank html file called blank.html in the root folder of the forum.

Guest
RE: Running forum over an SSL - Tue. Oct 17, '06 1:34 AM
We have the same problem, but have only a frameset with one frame. Frame src points to a secure webpage. Clickin No to the popup still displays the entire content. Clicking Yes removes the padlock-icon from the browser. This alarms our customers.
 
<frameset>
 
</frameset>
 
doesn't display the popup, but ones you ad the <frame src="https://..."> you get the popup.
 
Microsoft KnowledgeBase says itäs a bug in Content Advisor and instructs to turn Content Advisor off...
 
We can't change the single frame to an iframe, because of our server setup and because we don't want to use an iframe.
 
-Incu