Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1253 connectés 

  FORUM HardWare.fr
  Programmation
  Divers

  Authentification windows: comment faire un logout ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Authentification windows: comment faire un logout ?

n°1558078
kramik
Posté le 10-05-2007 à 14:50:00  profilanswer
 

Bonjour,
 
j'ai un site web qui a une authentification windows via un popup. Je voudrais savoir comment faire pour faire une réauthentification, c'est-à-dire pouvoir faire un logout et ensuite le popup revient.
 
Merci d'avance :)


Message édité par kramik le 10-05-2007 à 14:52:06
mood
Publicité
Posté le 10-05-2007 à 14:50:00  profilanswer
 

n°1558113
jagstang
Pa Capona ಠ_ಠ
Posté le 10-05-2007 à 15:10:22  profilanswer
 

quelle techno tu utilise pour faire cette authentification?


---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
n°1558119
kramik
Posté le 10-05-2007 à 15:11:51  profilanswer
 

Je ne sais pas c'est pas moi qui ait fait le site mais c'est une authentification de type windows et un popup apparait (de type windows) lorsqu'on va sur le site web ou on doit rentrer notre login/password

n°1558122
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:16:49  profilanswer
 

kramik a écrit :

Je ne sais pas c'est pas moi qui ait fait le site mais c'est une authentification de type windows et un popup apparait (de type windows) lorsqu'on va sur le site web ou on doit rentrer notre login/password


tu connais le ou les langages avec lesquels ont été programmé le site ?


---------------
Töp of the plöp
n°1558123
kramik
Posté le 10-05-2007 à 15:17:30  profilanswer
 

C# à mon avis

n°1558127
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:20:20  profilanswer
 

Donc t'as pas accès aux sources du site ?


---------------
Töp of the plöp
n°1558129
kramik
Posté le 10-05-2007 à 15:20:52  profilanswer
 

Non pas ici ...

n°1558134
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:23:19  profilanswer
 

Donc tu sais pas si l'authentification se fait par htaccess ou autre chose ?


---------------
Töp of the plöp
n°1558143
kramik
Posté le 10-05-2007 à 15:28:30  profilanswer
 

Authentification windows. Je peux avoir accès au site mais pas vous... C'est un intranet. Voici le message d'erreur si je ne me logue pas:
 
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.  
--------------------------------------------------------------------------------
 
Please try the following:
 
Contact the Web site administrator if you believe you should be able to view this directory or page.  
Click the Refresh button to try again with different credentials.  
HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS)
 
--------------------------------------------------------------------------------
 
Technical Information (for support personnel)
 
Go to Microsoft Product Support Services and perform a title search for the words HTTP and 401.  
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled About Security, Authentication, and About Custom Error Messages.  
 
Et une capture d'écran:
 
http://img513.imageshack.us/img513/9932/untitledqk2.th.jpg

n°1558152
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:34:18  profilanswer
 

kramik a écrit :

Authentification windows


Ca veut pas dire grand chose ...


---------------
Töp of the plöp
mood
Publicité
Posté le 10-05-2007 à 15:34:18  profilanswer
 

n°1558154
kramik
Posté le 10-05-2007 à 15:35:29  profilanswer
 

Et je sais ca comment ?

n°1558156
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:36:28  profilanswer
 

kramik a écrit :

Et je sais ca comment ?


Ben si t'étais développeur du site, ou admin du serveur...
T'es quoi toi dans l'affaire ?


---------------
Töp of the plöp
n°1558161
kramik
Posté le 10-05-2007 à 15:37:40  profilanswer
 

Je suis juste un développeur qui doit chercher le moyen de faire réapparaitre le popup que j'ai mis en photo lors d'un loggout

n°1558163
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:38:57  profilanswer
 

Ben analyse le site déjà ...


---------------
Töp of the plöp
n°1558164
kramik
Posté le 10-05-2007 à 15:39:42  profilanswer
 

...

n°1558167
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:43:30  profilanswer
 

Tu crois qu'il n'y a qu'une manière de s'authentifier sur un site ?


---------------
Töp of the plöp
n°1558170
kramik
Posté le 10-05-2007 à 15:44:25  profilanswer
 

Bien sur que non mais je ne dois pas changer la manière de s'authentifier, juste faire réapparaitre ce popup ...

n°1558174
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 15:48:50  profilanswer
 

Ca veut éventuellement dire la modifier non ?
 
Sinon ca pourrait etre par htaccess, renseigne toi là dessus (cela dit ca peut être carrément autre chose hein [:petrus75] )


---------------
Töp of the plöp
n°1558201
jagstang
Pa Capona ಠ_ಠ
Posté le 10-05-2007 à 16:15:46  profilanswer
 

renseigne-toi auprès du dév, tu aurais plus vite fait que d'essayer de faire du reverse engineering


---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
n°1558202
kramik
Posté le 10-05-2007 à 16:19:56  profilanswer
 

Bon je suis allé demander, c'est une authentification de type windows basé sur l'IIS, que ce soit du type basique ou intégré, c'est la même chose on m'a dit ... J'en sais pas plus

n°1558234
kramik
Posté le 10-05-2007 à 16:46:10  profilanswer
 

Bon posons la question autrement:
 
comment faire un logout quand on est logué sur un site web avec l'authentification windows ?

n°1558236
_darkalt3_
Proctopathe
Posté le 10-05-2007 à 16:47:03  profilanswer
 

t'as cherché sur google ?


---------------
Töp of the plöp
n°1558237
kramik
Posté le 10-05-2007 à 16:47:32  profilanswer
 

Non non ... ;)

n°1558380
jagstang
Pa Capona ಠ_ಠ
Posté le 10-05-2007 à 18:24:16  profilanswer
 

kramik a écrit :

Bon posons la question autrement:
 
comment faire un logout quand on est logué sur un site web avec l'authentification windows ?


envoyer un header 401 il me semble


---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
n°1558386
dwogsi
Défaillance cérébrale...
Posté le 10-05-2007 à 18:27:16  profilanswer
 

Et tu peux pas simplement utiliser ce genre d'adresse :

http://user:_pass@site.ext/


Par htaccess ça marche, et ça doit être basé sur les même techno niveau http j'imagine.


Message édité par dwogsi le 10-05-2007 à 18:27:39

---------------
-- Debian -- Le système d'exploitation universel | Le gras c'est la vie! | /(bb|[^b]{2})/
n°1558390
jagstang
Pa Capona ಠ_ಠ
Posté le 10-05-2007 à 18:33:09  profilanswer
 

le pass dans l'url c'est pas terrible
edit : et ça répond pas à la question


Message édité par jagstang le 10-05-2007 à 18:33:27

---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
n°1558392
dwogsi
Défaillance cérébrale...
Posté le 10-05-2007 à 18:38:25  profilanswer
 

Ba ça peut dépanner parce que logiquement si tu fait une redir vers une adresse du genre de celle que j'ai donné avec des infos qui ne sont pas bonnes et bien ça ré ouvre la popup d'identification.
 
Bon je dit bien que ça peut dépanner en attendant de trouver une meilleur solution.


---------------
-- Debian -- Le système d'exploitation universel | Le gras c'est la vie! | /(bb|[^b]{2})/
mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Divers

  Authentification windows: comment faire un logout ?

 

Sujets relatifs
C# - Windows Forms - problème affichage des formes[HTACCESS/Résolu] Authentification conditionnée
windows : creation de bibliothequescombobox et windows mobile
NE PAS LIRE : windows répertoire supérieur[C] simuler un clavier sur un écran tactil sous Windows
Quel langage pour des petites applications Windows avec des forms ?windows media player sur une page web avec IE ET FIREFOX
Drag&Drop / Shell WindowsOutOfMemory Appli Windows Mobile
Plus de sujets relatifs à : Authentification windows: comment faire un logout ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR