Ticket #62 (closed defect: fixed)
Authentification HTTP
| Reported by: | moinefou | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | alternc-futur |
| Component: | Bureau: g�n�ral | Version: | |
| Severity: | feature | Keywords: | |
| Cc: |
Description
On pourrait se servir de la capacité du module Apache PHP à utiliser l'authentification HTTP pour que la manière de donner son login/pass soit standard.
ADDITIONAL INFORMATION: Cela permettrait d'accéder à des fichiers du bureau par une URL : <a href=" https://login:<a href="mailto:pass@…"> https://login:pass@bureau.alternc.net/</a" target="_new">pass@…/"> https://login:pass@bureau.alternc.net/</a</a>>......
Change History
comment:2 Changed 9 years ago by anarcat
- Owner changed from benjamin to anarcat
- Status changed from closed to assigned
comment:3 Changed 9 years ago by anarcat
- Status changed from assigned to closed
- Component changed from Nouvelle Fonctionnalité to Bureau: général
Reclassification.
comment:4 Changed 9 years ago by moinefou
- Status changed from closed to assigned
- Resolution fixed deleted
Il ne s'agit pas de pouvoir faire le login par une URL, mais d'authentification HTTP telle que décrite dans la RFC 2617 :
ftp://ftp.rfc-editor.org/in-notes/rfc2617.txt
Il est possible, avec PHP, de gérer cela directement :
Note: See
TracTickets for help on using
tickets.

Cela fonctionne : il suffit d'utiliser une url du type <a href=" http://bureau.alternc.net/admin/pageauchoix.php?login=monlogin&pass=monpass&autreparam=sibesoin"> http://bureau.alternc.net/admin/pageauchoix.php?login=monlogin&pass=monpass&autreparam=sibesoin</a>