![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/05/2004, 06:32
|
![Avatar de jnegro](http://static.forosdelweb.com/customavatars/avatar10716_1.gif) | | | Fecha de Ingreso: diciembre-2001 Ubicación: Salta
Mensajes: 238
Antigüedad: 23 años, 2 meses Puntos: 0 | |
If Request.ServerVariables("LOGON_USER") = "" Then
Response.Status = "401 access denied"
Response.End
End If
La variable que toma el nombre esl "LOGON USER")
En PHP creo que se podría usar $_SERVER["PHP_AUTH_USER"] o $_SERVER["REMOTE_USER"]
Si la autenticación se hace en el mismo servidor en que corre php debería funcionar.
Éxitos |