Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi TWebBrowser... Microsoft entfernt Simple-Authentifikation!!! (https://www.delphipraxis.net/15568-twebbrowser-microsoft-entfernt-simple-authentifikation.html)

FriFra 31. Jan 2004 12:04


TWebBrowser... Microsoft entfernt Simple-Authentifikation!!!
 
Microsoft hat gerade einen "Bugfix angedroht" indem man einen Fehler in der URL-Anzeige nicht beseitigt, aber mit einem meiner Meinung nach untauglichem Mittel umgehen will :evil: :evil: :evil:

http://support.microsoft.com/default...;en-us;Q834489

Nun habe ich bald mehrere riesen Probleme... Weiß irgend jemand, wie man beim TWebBrowser eine Simple Authentifikation, ohne Dialog, durchführen kann ohne Usernamen und Passwort in der URL zu übergeben (das wird nämlich "gefixt")?

chris 31. Jan 2004 13:20

Re: TWebBrowser... Microsoft entfernt Simple-Authentifikatio
 
hi,

steht doch da:

Zitat:

[..]
Workarounds for application and Web site developers
URLs that are opened by objects that call WinInet or Urlmon functions
For objects that use an HTTP or an HTTPS URL that includes user information when they call a WinInet or Urlmon function such as InternetOpenURL, rewrite the object to use one of the following methods to send user information to the Web site:
Use the InternetSetOption function and include the following option flags:
INTERNET_OPTION_USERNAME
INTERNET_OPTION_PASSWORD
For additional information about how to use the InternetSetOption function, visit the following Microsoft Web site:
http://msdn.microsoft.com/library/en...tsetoption.asp

Use the IAuthenticate Interface. For additional information about how to use the IAuthenticate Interface, visit the following Microsoft Web site:
http://msdn.microsoft.com/workshop/n...thenticate.asp

URLs that are opened by a script that uses credentials for state management
[..]
[edit] guck dir dazu mal http://www.euromind.com/iedelphi/iedownload.htm an [/edit]

FriFra 31. Jan 2004 14:02

Re: TWebBrowser... Microsoft entfernt Simple-Authentifikatio
 
Das hilft mir alles nicht weiter...

1. Ich will nach wie vor die TWebBrowser-Komponente verwenden, da es einen riesen Aufwand bedeuten würde jetzt alle Programme komplett umzuschreiben, nur weil jetzt plötzlich bei MS jemand durchdreht und so einen Sch... macht!
Man muss doch den Authentification-Event auch beim TWebBrowser irgendwie handlen können :gruebel:

2. Bei einem Kunden von mir läuft eine Webbasierte Accountverwaltung, die auch genau auf dieser Authentifikation aufsetzt (innerhalb einer getunnelten Verbindung ;) ). Wenn die ausversehen diesen Patch einspielen wäre das eine mittlere Katastrophe. Denn die arbeiten dort mit dem "normalen" Internet-Explorer. Falls man die Authentifikation irgendwie handlen kann, kann ich denen ja einen Browser "basten", der auch nach dem Patch noch mit solchen URL's klarkommt.



Verfügt die IEDownload Kompo über ein Interface (wie TWebBrowser), oder ist das nur eine "Hidden" Komponente? Wenn sich diese Kompo nicht 100% wiee TWebBrowser verhällt, kann ich sie nicht gebrauchen.

Robert Marquardt 31. Jan 2004 14:44

Re: TWebBrowser... Microsoft entfernt Simple-Authentifikatio
 
Das ist als workaround angepriesen, also muss man es wohl selber einspielen.

scp 31. Jan 2004 15:32

Re: TWebBrowser... Microsoft entfernt Simple-Authentifikatio
 
Keine Panik:
Zitat:

How to disable the new behavior or use it in other programs
After you install the software update that is discussed in this article, you can set registry values to use this new behavior in other programs that host the Web browser control or to disable this new behavior for Windows Explorer and Internet Explorer. Microsoft will post more information in this article when the software update becomes available.
Man wird es also auch für bestimmte Programme, die TWebBrowser benutzen, ausschalten können.

FriFra 31. Jan 2004 15:46

Re: TWebBrowser... Microsoft entfernt Simple-Authentifikatio
 
:-D Dann scheint es ja doch kein sooo grosses Problem zu sein...

chris 4. Feb 2004 18:19

Re: TWebBrowser... Microsoft entfernt Simple-Authentifikatio
 
hi,

Zitat:

By default, this new default behavior for handling user information in HTTP or HTTPS URLs applies only to Windows Explorer and Internet Explorer. To use this new behavior in other programs that host the Web browser control,.......
mit anderen worten:

auch NACH dem update wird das verhalten des twebbrowser gleich bleiben!!

man KANN es aber aber aktivieren, falls man es möchte/braucht (was du ja nicht willst *g*), in dem man die registry editiert (infos s. link im ersten post)


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:46 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz