<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CppWebBrowser htaccess: Authorization Header]]></title><description><![CDATA[<p>Hi! Wie kann ich mit dem CppWebBrowser den Header zum Anmelden an einem .htaccess geschützten Verzeichnis verwenden? Habe bisher folgenden Code:</p>
<pre><code class="language-cpp">OleVariant Headers = &quot;Authorization: Basic dXNlcjpwYXNz&quot;; // BASE64 encodiert user:pass siehe http://makcoder.sourceforge.net/demo/base64.php
browser-&gt;Navigate(WideString(&quot;http://www.seite.net/phpmyadmin/&quot;),0,0,0,Headers);
</code></pre>
<p>Leider zeigt er dennoch das Einlog-Fenster vom IE an.</p>
<p>habe auch schon <strong>&quot;Authorization: Basic dXNlcjpwYXNz==&quot;</strong> oder auch <strong>&quot;Authorization: Basic dXNlcjpwYXNz}\n\r&quot;</strong> versucht, das geht aber auch nicht.</p>
<p>MSDN sagt:</p>
<blockquote>
<p>Headers<br />
[in] Pointer to a value that contains the HTTP headers to send to the server. These headers are added to the default Microsoft Internet Explorer headers. The headers can specify things such as the action required of the server, the type of data being passed to the server, or a status code. <strong>This parameter is ignored if URL is not an HTTPURL.</strong></p>
</blockquote>
<p>Habe als URL auf jeden fall <a href="http://www" rel="nofollow">http://www</a>... angegeben wie man oben sieht. Oder wie soll man das &quot;HTTPURL&quot; verstehen!? DANKE! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162356/cppwebbrowser-htaccess-authorization-header</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 19:25:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162356.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Oct 2006 19:59:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CppWebBrowser htaccess: Authorization Header on Tue, 17 Oct 2006 19:59:52 GMT]]></title><description><![CDATA[<p>Hi! Wie kann ich mit dem CppWebBrowser den Header zum Anmelden an einem .htaccess geschützten Verzeichnis verwenden? Habe bisher folgenden Code:</p>
<pre><code class="language-cpp">OleVariant Headers = &quot;Authorization: Basic dXNlcjpwYXNz&quot;; // BASE64 encodiert user:pass siehe http://makcoder.sourceforge.net/demo/base64.php
browser-&gt;Navigate(WideString(&quot;http://www.seite.net/phpmyadmin/&quot;),0,0,0,Headers);
</code></pre>
<p>Leider zeigt er dennoch das Einlog-Fenster vom IE an.</p>
<p>habe auch schon <strong>&quot;Authorization: Basic dXNlcjpwYXNz==&quot;</strong> oder auch <strong>&quot;Authorization: Basic dXNlcjpwYXNz}\n\r&quot;</strong> versucht, das geht aber auch nicht.</p>
<p>MSDN sagt:</p>
<blockquote>
<p>Headers<br />
[in] Pointer to a value that contains the HTTP headers to send to the server. These headers are added to the default Microsoft Internet Explorer headers. The headers can specify things such as the action required of the server, the type of data being passed to the server, or a status code. <strong>This parameter is ignored if URL is not an HTTPURL.</strong></p>
</blockquote>
<p>Habe als URL auf jeden fall <a href="http://www" rel="nofollow">http://www</a>... angegeben wie man oben sieht. Oder wie soll man das &quot;HTTPURL&quot; verstehen!? DANKE! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156608</guid><dc:creator><![CDATA[Bity]]></dc:creator><pubDate>Tue, 17 Oct 2006 19:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to CppWebBrowser htaccess: Authorization Header on Wed, 18 Oct 2006 17:06:17 GMT]]></title><description><![CDATA[<p>Ich verstehe ja, ich habe alles richtig gemacht und dennoch funktioniert das nicht. kann das damit zusammen hängen, dass der IE ab version 6.0 keine direkten URLs zu geschützten Bereichen (<a href="http://user:pass@www.x.de/test" rel="nofollow">http://user:pass@www.x.de/test</a>) weiterleitet?ist es nicht möglich, über die idhttp komponente den header zu übergeben und sich dann mit dem browser einzulogen? Oder habe ich doch was übersehen? Gruß Bity</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157235</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157235</guid><dc:creator><![CDATA[Bity]]></dc:creator><pubDate>Wed, 18 Oct 2006 17:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to CppWebBrowser htaccess: Authorization Header on Wed, 18 Oct 2006 17:30:34 GMT]]></title><description><![CDATA[<blockquote>
<p>MS hat mit dem Sicherheitsupdate 834489 die Verwendung der Syntax http[s]://User:Passwort@www.xxxx.com unterbunden. Wird diese Syntax dennoch benutzt, kommt die Meldung: &quot;Fehler: ungültige Syntax&quot;</p>
<p>Mit dem folgenden Tipp können Sie diese Syntax wieder erlauben.</p>
<p>Microsoft Knowledge Base Article - 834489:<br />
<a href="http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;834489" rel="nofollow">http://support.microsoft.com/default.aspx?scid=kb;[LN];834489</a></p>
<p>[für den Anwender]<br />
HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Internet Explorer\ Main\ FeatureControl\ FEATURE_HTTP_USERNAME_PASSWORD_DISABLE</p>
<p>[für das System (alle Anwender)]<br />
HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Internet Explorer\ Main\ FeatureControl\ FEATURE_HTTP_USERNAME_PASSWORD_DISABLE</p>
<p>Erstellen Sie hier einen neuen Wert mit dem Namen &quot;iexplore.exe&quot; als Datentyp REG_DWORD. Setzen Sie den Wert auf:</p>
<p>0 Passwort URLs erlauben<br />
1 Passwort URLs nicht erlauben (Standard)</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1157241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157241</guid><dc:creator><![CDATA[Christian411]]></dc:creator><pubDate>Wed, 18 Oct 2006 17:30:34 GMT</pubDate></item></channel></rss>