473,408 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

SSL and Frames

I'm working on a website that uses frames. Some of the pages that belong in
the 'main' frame (not the header (top) or contents (side)) need to be SSL
encrypted. I have no problems in invoking these pages using SSL (within
their respective frame). However, I would like the 'security lock' at the
bottom to be present when the frame (main content frame) is showing a
secured page.

My hunch is that because the other two frames are not SSL (header and
contents) is that the browser is showing only a partially secured (1 out of
3 frames) window. Therefore, the security lock is not present ??? The
individual frame is still using the HTTPS protocol, just not getting a
visual for the user to feel comfortable that the particular frame is
secured..

Anyone know how to get the security lock to show on HTTPS requests within a
particular frame ?
PS... I understand how to use 'user controls' and have used on several
sites. The profile for this particular application at the time it was
written warranted this architecture. I appreciate your help, but if your
help is only to say "Don't use frames..." or "Use user controls
instead..." then don't waste your time keying those stock responses. I
apologize for having to put in this posting (for those that don't deserve to
be informed). I have just reviewed serveral posts on frames within this
newsgroup where the only technical help was to suggest a different
architecture. While it is a consideration to dump one form for another,
many times it is not possible given the breadth of the application,
timeframes, etc. If you do, in fact, have some information that would be
helpful (other than dump the architecture in favor of a different one) then
I certainly would appreciate it... Thanks (in advance) for any help...
Nov 18 '05 #1
11 2568
Your hunch is correct: you won't get the browser to show the lock when only
one of your frames is secured. I had the same problem last year. My
suggestion (without trashing your frame-architecture ;-) is to run just the
secured part in a new window (without a toolbar but with a status bar). That
way the secure part of your app is also seen to be secure and you dont have
to rewrite the rest of your site.

The only other alternative is to inform the users, that they are in a secure
part of the site and tell them how to check that (right key / settings /
check for https in the URL)

Hope that helps
Jon

"Jamie Dulaney" <jd******@softwareexperts.net> schrieb im Newsbeitrag
news:%2******************@TK2MSFTNGP10.phx.gbl...
I'm working on a website that uses frames. Some of the pages that belong in the 'main' frame (not the header (top) or contents (side)) need to be SSL
encrypted. I have no problems in invoking these pages using SSL (within
their respective frame). However, I would like the 'security lock' at the bottom to be present when the frame (main content frame) is showing a
secured page.

My hunch is that because the other two frames are not SSL (header and
contents) is that the browser is showing only a partially secured (1 out of 3 frames) window. Therefore, the security lock is not present ??? The
individual frame is still using the HTTPS protocol, just not getting a
visual for the user to feel comfortable that the particular frame is
secured..

Anyone know how to get the security lock to show on HTTPS requests within a particular frame ?
PS... I understand how to use 'user controls' and have used on several
sites. The profile for this particular application at the time it was
written warranted this architecture. I appreciate your help, but if your
help is only to say "Don't use frames..." or "Use user controls
instead..." then don't waste your time keying those stock responses. I
apologize for having to put in this posting (for those that don't deserve to be informed). I have just reviewed serveral posts on frames within this
newsgroup where the only technical help was to suggest a different
architecture. While it is a consideration to dump one form for another,
many times it is not possible given the breadth of the application,
timeframes, etc. If you do, in fact, have some information that would be
helpful (other than dump the architecture in favor of a different one) then I certainly would appreciate it... Thanks (in advance) for any help...

Nov 18 '05 #2
Hello Jamie,

Thanks for posting in the group.

Based on the description, the question is: Now you have a framed page, some
frame is in security zone. However, you like the security lock at the
botton to be shown when the active frame is a secured page. Also, you don't
want to change the frames structure. Please feel free to post here if I
have misunderstood the problem.

I agree with Jon on his opinion. If the secure web page is located inside a
frame, the secure lock will not appear. The Secure Lock indicator is
displayed only if the original HTML document that referenced the frameset
is located on a secure site. There is no good way to change this default
behavior. We need to take workarounds as Jon suggested to notify the web
clients that he is in a security zone.

For an example, in the "What is a secure browser?" part of
http://icmr.icfai.org/FAQ.htm, we can see that:
---------------------------------------
Browsers that support the SSL encryption technology are called secure
browsers. Most Netscape (version 4.7 and later) and Microsoft Internet
Explorer (version 5.5 or later) browsers are secure. Your browser will
automatically enter the secure mode when you make online payment
transactions with ICFAI.

In Netscape browsers, a key or a socket appears in the lower left-hand
corner to indicate the current security mode. When the key appears
unbroken, data sent between your browser and the Web site is secure; if the
key appears broken, the data is being sent unencrypted.

In Microsoft browsers, a lock appears in the lower right hand status bar
during a secure session. No lock is visible during normal unencrypted
sessions.

These symbols may not appear when using HTML frames in the website;
however, any transaction with ICFAI is always secure when sensitive
information is being sent.
......
--------------------------

I think that is the way that is often used to indicate it.

Thanks and please feel free to post here if you have any more concerns.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #3

"Jamie Dulaney" <jd******@softwareexperts.net> wrote in message
news:#z**************@TK2MSFTNGP10.phx.gbl...

My hunch is that because the other two frames are not SSL (header and
contents) is that the browser is showing only a partially secured (1 out of 3 frames) window. Therefore, the security lock is not present ??? The
individual frame is still using the HTTPS protocol, just not getting a
visual for the user to feel comfortable that the particular frame is
secured..

Anyone know how to get the security lock to show on HTTPS requests within a particular frame ?


hi, we have run into same issue.
my suggestion will not solve your problem (as some other posters have
indicated, there is really no way to trick the security lock icon into
appearing), but have you considered using a logo (Google image "Versign.gif"
or "Verisign.jpg") which clearly says something like "Secure Site, click
here to verify"? This will at least make users a little more confident.

HTH
Nov 18 '05 #4
Hello Jamie,

Do you have any more concerns on this issue? Generally speaking, we use
these methods to inform the web client users that they are already in a
security zone under this situation.

If there is anything unclear, please feel free to post here.

Thanks very much.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #5
Thanks... I have created my own 'security lock' and within my ASP.NET application I now do the following:

Put an 'EncryptImage' control (my own small padlock) on pages which may be set to use SSL. I then put the following code in the page:

EncryptImage.Visible = false;
if (Request.IsSecureConnection == true)
{
EncryptImage.Visible = true;
}
Not the official visual for SSL utilization. But at least the frame does show a 'visual' and I suppose a person can then right click the form to see that it is in fact using the https protocol. I use web.config settings to turn on/off security https (basically what gets prepended to redirects or transfers). That way the site can run in non secure mode (if required) and the above check will alternately not display...

Thanks for your help (and all of you others that have posted a reply)...

"Yan-Hong Huang[MSFT]" <yh*****@online.microsoft.com> wrote in message news:H8**************@cpmsftngxa10.phx.gbl...
Hello Jamie,

Do you have any more concerns on this issue? Generally speaking, we use
these methods to inform the web client users that they are already in a
security zone under this situation.

If there is anything unclear, please feel free to post here.

Thanks very much.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #6
Hi Jamie,

I am glad to be of assistance. Thanks very much for sharing your idea in
the community. It could definitely benefit other developers much. :)

Thanks again for participating the community.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #7
Jon Gilbert wrote:
My suggestion (without trashing your frame-architecture ;-)


My suggestion is to trash your frame-architecture.

No self-respecting website uses frames (name one?). You can achieve much
the same effect as frames by using scrolling DIVs in CSS if you really
need to: <div style="height:100px; overflow: scroll;"> (I think that
syntax is correct - but you might want to check it).

If you don't use frames, your site will be crawlable by search engines
(apart from the SSL pages) and you will be able to book mark all the
pages (instead of only the home page).

Nick Gilbert

Nov 18 '05 #8
Hi

Nick Gilbert" <ne**@nickgilbert.com> wrote in message
news:e6*************@tk2msftngp13.phx.gbl...> Jon Gilbert wrote:
My suggestion is to trash your frame-architecture.
No self-respecting website uses frames (name one?).


http://msdn.microsoft.com/library/ :-)

Frames are not evil and are perfectly reasonable to use in many cases

--
Best Regards
Vidar Petursson
==============================
Microsoft Visual: Scripting MVP 2000-2004
http://www.icysoft.com/
http://www.deus-x.com/ Instant e-commerce
http://www.microsoft.com/technet/scriptcenter/
Playground: http://213.190.104.211/ ( IE 5.5+ only )

No matter where you go there you are
==============================
Nov 18 '05 #9
Vidar Petursson wrote:
http://msdn.microsoft.com/library/ :-)

Frames are not evil and are perfectly reasonable to use in many cases


The *very first* link I clicked on doesn't load properly in my browser:

http://msdn.microsoft.com/library/de...n2ksignfaq.asp

You'll also notice they've had to code a horrible workaround so that
it's possible to bookmark the pages...

Although you might get away with writing your own homepage or a basic
ASP site, they are a NIGHTMARE to use in ASP.NET on anything more than a
very very basic site. ASP.NET forms do not allow you to change the
action or target of any forms, so you end up writing loads of javascript
and dummy pages to get the other frames to load as expected.

I'm not just saying this - we have tried it and ended up writing the
site again to not use frames. It now looks IDENTICAL to the frames site,
but it works properly in all browsers, is crawlable by search engines,
supports SSL properly, can be bookmarked, and has a nice architecture.
None of this would have been possible using frames with out a LOT of
extra work.

I really recommmend steering well clear of frames when using .NET.
Frames are for people that don't understand how CSS works.

Nick...
Nov 18 '05 #10
Oops - posted that before I was finished...
http://msdn.microsoft.com/library/de...n2ksignfaq.asp

You'll also notice they've had to code a horrible workaround so that
it's possible to bookmark the pages...


You can't link to frames pages either - unless you code a workaround
such as the one Microsoft are using. And if you do code a workaround,
all the links will look as complicated as the one above.

Instead of http://www.domain.com/productname/

you will have http://www.domain.com/?default.aspx?url=productname

People visiting your site from search engines will probably find all the
other frames missing (ie no navigation) - that's assuming the site was
indexable by search engines in the first place. Unlikely...

Note that the Microsoft site is in legacy ASP not .NET. You will not
find a .NET site of any merit, which uses frames. MS also has several
hundred web developers/content authors maintaining microsoft.com - you
many not have enough money to have this many developers working on your
site, so you may want to keep it simple...

Nick...
Nov 18 '05 #11

I'm curious about this post...

I think frames make web development cumbersome, but we have a web site
which does form submits to a frame...

Am I able to do that with DIV tags and CSS?

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: les | last post by:
Hello, I just wonder what are the implications to use frames to build portal. I've seen some sites that are quite fast with frames but I just wonder if there are hidden "costs". I've tried to...
40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
5
by: Dfenestr8 | last post by:
Hi. I'm designing a site, and I'm trying find a way of browsing it without using frames, so I can test the <noframes> </noframes> tags. I use a linux mandrake 10 system, with KDE 3.2. Is there...
7
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
3
by: Nish | last post by:
Is HTML frame is an old technology? Will the modern web application are developed using the HTML frames? Does all the browsers support them? Thank you for your suggestion, Nish
56
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
14
by: Mark | last post by:
Hi Guys, I am very new to ASP.NET world. I need to create three frames. One at the top, one on the left and another on the right side. I don't know how to do it. So please help me with it. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.