473,513 Members | 2,684 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

https-Question

Hello, i got a little understanding Problem.
on some http-Sites i can log into my Account with Name/Passwort.
The Form-Login-Page ist only http with form action directing to a
"secure" https page.
So - in my understanding the username and password is send uncrypted
over the Net.
Only the later Communication is done secure.

Am i right that only a https login-Form-page would be safe?
Jul 13 '06 #1
12 1878
In article <e9**********@newsreader2.netcologne.de>,
Wilhelm Kutting <wk******@arcor.dewrote:
Hello, i got a little understanding Problem.
on some http-Sites i can log into my Account with Name/Passwort.
The Form-Login-Page ist only http with form action directing to a
"secure" https page.
So - in my understanding the username and password is send uncrypted
over the Net.
Only the later Communication is done secure.

Am i right that only a https login-Form-page would be safe?
Wilhelm,
Basically, yes.

HTTP = not secure, name and password sent without encryption

HTTPS = secure, name and password sent encrypted
Hope this helps

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Jul 13 '06 #2
Wilhelm Kutting <wk******@arcor.dewrites:
Hello, i got a little understanding Problem.
on some http-Sites i can log into my Account with Name/Passwort.
The Form-Login-Page ist only http with form action directing to a
"secure" https page.
So - in my understanding the username and password is send uncrypted
over the Net.
Only the later Communication is done secure.

Am i right that only a https login-Form-page would be safe?
Whether the form itself was fetched from an http:// or https:// URL is
irrelevant. If the action of the form lists an https:// URL, the data is
encrypted when the form data is sent to that URL.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jul 13 '06 #3
Sherm Pendley wrote:
Whether the form itself was fetched from an http:// or https:// URL is
irrelevant. If the action of the form lists an https:// URL, the data is
encrypted when the form data is sent to that URL.
Although if the form is fetched without SSL the user won't get an
indication from the browser that the page they are on is secure and may
not trust the safety of their password.

Jul 13 '06 #4
Sherm Pendley <sh***@Sherm-Pendleys-Computer.localwrites:
Wilhelm Kutting <wk******@arcor.dewrites:
Hello, i got a little understanding Problem.
on some http-Sites i can log into my Account with Name/Passwort.
The Form-Login-Page ist only http with form action directing to a
"secure" https page.
So - in my understanding the username and password is send uncrypted
over the Net.
Only the later Communication is done secure.

Am i right that only a https login-Form-page would be safe?

Whether the form itself was fetched from an http:// or https:// URL is
irrelevant. If the action of the form lists an https:// URL, the data is
encrypted when the form data is sent to that URL.
*However* it's worth having the form in https too, if that's
practical, so that a concerned user can be sure that the form they see
is the form your server sent (assuming they trust your server
certificate).

--
Chris
Jul 13 '06 #5
Chris Morris <c.********@durham.ac.ukwrites:
Sherm Pendley <sh***@Sherm-Pendleys-Computer.localwrites:
>Wilhelm Kutting <wk******@arcor.dewrites:
>
Am i right that only a https login-Form-page would be safe?

Whether the form itself was fetched from an http:// or https:// URL is
irrelevant. If the action of the form lists an https:// URL, the data is
encrypted when the form data is sent to that URL.

*However* it's worth having the form in https too, if that's
practical, so that a concerned user can be sure that the form they see
is the form your server sent (assuming they trust your server
certificate).
Good point - I took the question too literally, and answered it in a
technical sense only. Putting your form on an https:// URL isn't strictly
necessary for technical reasons, but it will definitely help your users
feel safer.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jul 13 '06 #6
Nikita the Spider schrieb:
In article <e9**********@newsreader2.netcologne.de>,
Wilhelm Kutting <wk******@arcor.dewrote:
>Hello, i got a little understanding Problem.
on some http-Sites i can log into my Account with Name/Passwort.
The Form-Login-Page ist only http with form action directing to a
"secure" https page.
So - in my understanding the username and password is send uncrypted
over the Net.
Only the later Communication is done secure.

Am i right that only a https login-Form-page would be safe?

Wilhelm,
Basically, yes.

HTTP = not secure, name and password sent without encryption

HTTPS = secure, name and password sent encrypted
Hope this helps
So if the loginform is http, the username and password is send via
cleartext.

So the login on this page is totally dumb:
http://www.aerzteblatt.de/cme/

They offer both login over http and https and the result is the Same:
Clear Username and clear password

This is not the only page where i saw such a thing.
i don't understand the misleading of users...
Jul 14 '06 #7
Wilhelm Kutting <wk******@arcor.dewrites:
Nikita the Spider schrieb:
Wilhelm,
Basically, yes.
HTTP = not secure, name and password sent without encryption
HTTPS = secure, name and password sent encrypted
Hope this helps

So if the loginform is http, the username and password is send via
cleartext.
The protocol used to *retrieve* the form only affects the protocol
used to *submit* the form if a relative URL is used for the form action.

<form action='https://www.example.com/' method='post'(absolute URL)
will *always* submit securely whether the page with the form on was
retrieved via http or https (or even file, ftp, or other less likely
protocols)

<form action='/login' method='post'(relative URL)
on the other hand will use whatever protocol was used to load the page
to submit the form.

--
Chris
Jul 14 '06 #8
On Fri, 14 Jul 2006 10:43:44 +0100, Wilhelm Kutting <wk******@arcor.de>
wrote:
> HTTP = not secure, name and password sent without encryption
HTTPS = secure, name and password sent encrypted
Hope this helps
So if the loginform is http, the username and password is send via
cleartext.
No, the statement you were replying to is incorrect.

If the form is submitted to a HTTPS address (or a HTTP address that set to
use SSL/TLS) then the form data will arrive securely, but there is another
issue with using insecure login pages like this.

How do you know what data is being sent there securely, and what else is
being sent to other addresses? By using an insecure login page, or by
including insecure elements inside an HTTPS page (javascripts, iframes,
etc), you make it possible for the login page to be tampered with by third
parties. Malicious Javascript could be inserted to read users' login
credentials when they submit the form, and this could then be sent
elsewhere just before they go to the real login page. Or they could divert
the form submission to a page of their own (such as a fake site to try and
get more information - "Important message from your friendly service
provider - Your credit card information is now out of date, please
<a...>update it now</ato avoid problems, thank you.")

It's good practice to have both the login page and the page you submit to
fully secure (with everything in that page sent over HTTP from the same
server - including the Javascripts, images and even any adverts!). Some
sites don't like doing this because HTTPS pages use more server resources
and all the hits from random passers-by can increase the load, but in an
age where phising scams and identity theft are rife, everyone should be
doing it regardless.

Security is only as good as the weakest link in the chain, and an insecure
login page is open to attack just as much as any other insecure page.
Wherever your password and username end up, remember that they're typed
into that insecure page first.
Jul 14 '06 #9
Wilhelm Kutting <wk******@arcor.dewrites:
Nikita the Spider schrieb:
>In article <e9**********@newsreader2.netcologne.de>,
Wilhelm Kutting <wk******@arcor.dewrote:
>>Hello, i got a little understanding Problem.
on some http-Sites i can log into my Account with Name/Passwort.
The Form-Login-Page ist only http with form action directing to a
"secure" https page.
So - in my understanding the username and password is send
uncrypted over the Net.
Only the later Communication is done secure.

Am i right that only a https login-Form-page would be safe?
Wilhelm,
Basically, yes.
HTTP = not secure, name and password sent without encryption
HTTPS = secure, name and password sent encrypted
Hope this helps
So if the loginform is http, the username and password is send via
cleartext.
No.

It's the URL in the form element's "action" attribute that determines whether
the user name and password are encrypted, not the URL of the form itself.

As others have mentioned, fetching the form itself via https:// does provide
user feedback in many browsers which display "lock" icons and such. But it
technically makes no difference whatsoever in how the form data is sent to
the action URL.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jul 14 '06 #10
Sorry -- would have liked to have replied to Sherm but the post
didn't seem to have a working e-mail address.

In article <m2************@Sherm-Pendleys-Computer.local>,
Sherm Pendley <sh***@Sherm-Pendleys-Computer.localwrote:
[...]
= Web Hosting by West Virginians, for West Virginians: http://wv-www.net

I'm just curious (as a displaced West Virginian) why the registrant
for the domain, wv-www.net, is in Scottsdale, AZ?

Clearly, said registrant could also be a displaced West Virginian
but it does look a little funny...
--
Charlie Sorsby
cr*@swcp.com
Edgewood, NM 87015
USA
Jul 19 '06 #11
cr*@sorsby.org (Charlie Sorsby) writes:
Sorry -- would have liked to have replied to Sherm but the post
didn't seem to have a working e-mail address.
Post here, reply here has been usenet tradition for decades. Besides, there's
a URL in my .sig, and my site has contact information. I'm not really hiding,
just trying to discourage automated spam harvesters.
In article <m2************@Sherm-Pendleys-Computer.local>,
Sherm Pendley <sh***@Sherm-Pendleys-Computer.localwrote:
[...]
= Web Hosting by West Virginians, for West Virginians: http://wv-www.net

I'm just curious (as a displaced West Virginian) why the registrant
for the domain, wv-www.net, is in Scottsdale, AZ?
I do my domain registration through GoDaddy.com, and lease server space from
Server Beach. My office (and home) is in WV though - Morgantown, to be exact.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jul 19 '06 #12
Charlie Sorsby wrote:
Sorry -- would have liked to have replied to Sherm but the post
didn't seem to have a working e-mail address.

In article <m2************@Sherm-Pendleys-Computer.local>, Sherm
Pendley <sh***@Sherm-Pendleys-Computer.localwrote: [...] = Web
Hosting by West Virginians, for West Virginians: http://wv-www.net

I'm just curious (as a displaced West Virginian) why the registrant
for the domain, wv-www.net, is in Scottsdale, AZ?

Clearly, said registrant could also be a displaced West Virginian but
it does look a little funny...
You appear to have misread the WHOIS results. The registrant for that
domain is keeping their personal details private, by using Godaddy's
Domains-by-Proxy registration service.

GoDaddy is located in Scottsdale, AZ.

--
Jack.

Jul 20 '06 #13

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

Similar topics

8
35724
by: NotGiven | last post by:
I need to verify if the page that led the user to this page used http or httpS. for example, if the use cam to my page from: httpS://www.dm.com/sample/foo.php I want to know as opposed to...
0
1760
by: kiran | last post by:
Hi, I hosted a PHP project on my web server(IIS) and I am accessing the ip addres through my office public address like this: (example) https://61.95.204.43:8887/phptest/test.php ...
2
3264
by: Craig Keightley | last post by:
i have the following script on my checkout page to check if https is set in the address bar: if ($_SERVER != "on") { $url = $_SERVER; $query = $_SERVER; $path = $_SERVER; header("Location:...
16
60579
by: Paul Sweeney | last post by:
Does anyone know of a working (python) https proxy which allows viewing of unencrypted data being sent from my browser to an https site? I've worked my way through most on the list at...
1
1877
by: Hasan D | last post by:
I'm new on this httplib and urllib. Actually I dont know what should i use. I want to fill the form in a "https" page , and return the result . I write a test code but always gives errors. I cant...
12
5152
by: Grunff | last post by:
I'm experiencing an interesting problem with carrying a php session over from http to https. Much googling later, I'm still stuck. The application is an online shop, where some user data is...
14
2474
by: Peter Chant | last post by:
I'm currently authenticating a site I have built using basic http authentication built into apache. This has zero overhead on php which is a bonus but it seems to not quite work how I'd like. ...
14
3029
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to...
2
5306
by: scott mcfadden | last post by:
Using VS 2003, I can not add a web reference to our production server's ..asmx URL using HTTPS. I will put in a URL like: https://mycompany.com/myapp/myservice.asmx VStudio will display the...
0
2848
by: NoaGross | last post by:
Hi, I'm relly new in java and I have a problem. I'm using java applet. When using http all ok, but when trying to use https i get: Java Plug-in 1.5.0_10 Using JRE version 1.5.0_10 Java...
0
7257
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
7157
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...
1
7098
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
7521
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
5682
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,...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.