You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jens Stavnstrup <js...@ddre.dk> on 2002/07/03 13:19:33 UTC

When SSL is overkill


Currently, I have a server with a number of virtual hosts (several using
http and one using https (i.e. SSL)).

All material that are restricted to the public are placed on the SSL
server, which means that access control all all material are encrypted. So
far so good. 

However, most of the restricted material, could just a well be placed on a
normal http, if it was not for the access control. I am currently using
Basic authentication on the SLL, which ensures that my password is not
transfered in clear text.


Is it possible to configure a server, so

   - when entering the server, authentication is done over SSL
   - After the user sucessfully logged in, the contents of the the server 
     can be transfered using only http


Regards


Jens


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: When SSL is overkill

Posted by Dave <da...@hawk-systems.com>.
>>Is it possible to configure a server, so
>>
>>   - when entering the server, authentication is done over SSL
>>   - After the user sucessfully logged in, the contents of the the server
>>     can be transfered using only http
>>
>I can't answer your question but isn't what you are trying to do kind of
>pointless? Of course it is a good idea not to transmit passwords in
>clear text but ...
>
>If the idea of using SSL is to stop people from picking up your password
>and then use it to access the restricted ressources ... anyone who as
>the kno-how to listen on your transmissions to pick up your clear-text
>password certainly won't find it anymore difficult to just listen and
>instead of picking up your password pick up the ressources (files,
>etc...) that are being sent unencrypted.

Unless the information isn't sensitive enough to justify the additional load of
SSL, but the authentication is also system uid/pw sets, in which case the
information is only a minor concern, but having any uid/pw sets sent in the
clear is dangerous.  Personally I agree though, unless you are working on a real
sparse box, might as well just go all secure for the areas you are resticting
access to.

Now to the methodology.  There may be a simpler way, but we use PHP extensively.

Have the index page of the "secure" directory check if the use is currently in
SSL, if not, redirect to itself in https://...  this ensures your login is
secure.

Have the form (or whatever validation) verify the user, then redirect to your
page in http:// mode.

With relative ease you should be able to reproduce this with Perl in an
index.cgi script or some sort.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: When SSL is overkill

Posted by Jean-Christian Imbeault <jc...@mega-bucks.co.jp>.
Jens Stavnstrup wrote:

>
>Is it possible to configure a server, so
>
>   - when entering the server, authentication is done over SSL
>   - After the user sucessfully logged in, the contents of the the server 
>     can be transfered using only http
>
I can't answer your question but isn't what you are trying to do kind of 
pointless? Of course it is a good idea not to transmit passwords in 
clear text but ...

If the idea of using SSL is to stop people from picking up your password 
and then use it to access the restricted ressources ... anyone who as 
the kno-how to listen on your transmissions to pick up your clear-text 
password certainly won't find it anymore difficult to just listen and 
instead of picking up your password pick up the ressources (files, 
etc...) that are being sent unencrypted.

Just my two cents,

Jc


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org