Thanks Olle - I understand now.<div><br></div><div>Patrick: isn&#39;t this something that could/should be built in to pmwiki, or at least to AuthUser ?</div><div><br></div><div>Thanks, James</div><div><br><br><div class="gmail_quote">
On Sat, Mar 7, 2009 at 11:09 PM, Olle <span dir="ltr">&lt;<a href="mailto:ollebe@student.chalmers.se">ollebe@student.chalmers.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Saturday 07 March 2009 22.40.45 James M wrote:<br>
&gt; Thanks for the suggestion Guillermo.  I copied your lines of code into<br>
&gt; config.php and it makes no difference when I go to login.<br>
&gt; Is there anthing I&#39;m missing?<br>
&gt;<br>
<br>
</div>It probably works fine, it&#39;s just that you don&#39;t notice any difference. Only<br>
when you click on Login is your password sent through HTTPS.<br>
<br>
But, the login page itself should be fetched with HTTPS as well. Otherwise,<br>
the user can&#39;t tell if the login form is an attempt to steal passwords, or if<br>
it&#39;s the Real Thing.<br>
<br>
So i suggest somehow changing the links and redirects that points to the login<br>
page, so that they str_replace http with https. I did something along those<br>
lines with our student society&#39;s wiki, (by modifying the UserAuth2 recipe),<br>
and it works... reasonably. Just like the rest of Pmwiki. ;-)<br>
<font color="#888888"><br>
/Olle Bergkvist<br>
</font><div><div></div><div class="h5"><br>
&gt; Thanks,<br>
&gt; James<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Mar 6, 2009 at 6:51 PM, Guillermo Calderon - INCO &lt;<br>
&gt;<br>
&gt; <a href="mailto:calderon@fing.edu.uy">calderon@fing.edu.uy</a>&gt; wrote:<br>
&gt; &gt; James M escribió:<br>
&gt; &gt; &gt; It seems that the login pages on pmwiki are `en clair&#39; (unencrypted -<br>
&gt; &gt; &gt; eg not https). Is there any way around this, apart from hosting the<br>
&gt; &gt; &gt; whole site on https ?<br>
&gt; &gt; &gt; The IT guru who guards our servers at university is unhappy about<br>
&gt; &gt; &gt; having pmwiki installed where passwords are transmitted without being<br>
&gt; &gt; &gt; encrypted.<br>
&gt; &gt;<br>
&gt; &gt; In a previous message I wrote this:<br>
&gt; &gt;<br>
&gt; &gt; ===============<br>
&gt; &gt; I have implemented a simple solution where only passwords are sent<br>
&gt; &gt;    via SSL and the other posts are sent via http.<br>
&gt; &gt;<br>
&gt; &gt; In config.php:<br>
&gt; &gt;<br>
&gt; &gt; SDVA($InputTags[&#39;auth_form&#39;], array(<br>
&gt; &gt;     &#39;:html&#39; =&gt; &quot;&lt;form<br>
&gt; &gt;<br>
&gt; &gt; action=&#39;https://{$_SERVER[&#39;HTTP_HOST&#39;]}{$_SERVER[&#39;REQUEST_URI&#39;]}&#39;<br>
&gt; &gt; method=&#39;post&#39;<br>
&gt; &gt;          name=&#39;authform&#39;&gt;\$PostVars&quot;));<br>
&gt; &gt;<br>
&gt; &gt; This way the action field of the auth-form sends  all the information<br>
&gt; &gt; via https.<br>
&gt; &gt; ============================<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; pmwiki-users mailing list<br>
&gt; &gt; <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
&gt; &gt; <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br></div>