[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Jim.

Tony Carter wrote:

>>-----Original Message-----
&gt;&gt;From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On 
&gt;&gt;Behalf Of Jim Lynch
&gt;&gt;Sent: Friday, December 09, 2005 2:32 PM
&gt;&gt;To: ale at ale.org
&gt;&gt;Subject: [ale] Need to &quot;authenticate&quot; from C++
&gt;&gt;
&gt;&gt;I know how to use libwww to do normal posts and gets and pass 
&gt;&gt;parameters to web pages, but I now need to be able to use C++ 
&gt;&gt;to log into a web page that uses the .htaccess method of 
&gt;&gt;authentication.  Has anyone any idea how I'd need to pass the 
&gt;&gt;username and password to get authenticated or even where to 
&gt;&gt;start looking for the answer?
&gt;&gt;
&gt;&gt;Thanks,
&gt;&gt;Jim.
&gt;&gt;    
&gt;&gt;
&gt;
&gt;See: <a  rel="nofollow" href="http://www.w3.org/Library/src/HTAAUtil.html";>http://www.w3.org/Library/src/HTAAUtil.html</a> for the how-to and sample.
&gt;
&gt;Personally, I use libcurl. curl_easy_setopt(easyhandle, CURLOPT_USERPWD,
&gt;&quot;myname:thesecret&quot;); 
&gt;See  man libcurl-tutorial.
&gt;
&gt;-Tony
&gt;
&gt;_______________________________________________
&gt;Ale mailing list
&gt;Ale at ale.org
&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
&gt;
&gt;
&gt;  
&gt;



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00105" href="msg00105.html">[ale] Need to &quot;authenticate&quot; from C++</a></strong>
<ul><li><em>From:</em> tcarter at entrusion.com (Tony Carter)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00115.html">[ale] Tarring Root FS</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00117.html">[ale] AT Hayes command set</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00105.html">[ale] Need to &quot;authenticate&quot; from C++</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00102.html">[ale] Setting up &quot;Fax Printer&quot; under RHES 4.0 / Cups</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00116"><strong>Date</strong></a></li>
<li><a href="threads.html#00116"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>