Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/01/2009, 17:48
chcma
 
Fecha de Ingreso: junio-2003
Ubicación: Asturias
Mensajes: 2.429
Antigüedad: 21 años, 3 meses
Puntos: 7
Respuesta: Consulta de seguridad (Restringir paginas)

Bueno amigos... PUES NO SE QUE COJONES ME PASA A MI.

Perdón por el tono, pero me estoy empezando a mosquear con este asunto...

Tengo lo siguiente:

Esto está dentro del System.Web principal del web.config
Código:
      <authentication mode="Forms">
        <forms loginUrl="~/Autenticacion/autenticacion.aspx" />      
      </authentication>
      <authorization>
        <allow users="*" />
      </authorization>

Y despues, al final del todo y fuera de ese System.Web meti:
Código:
  <location path="~/Autenticacion">
    <system.web>
      <authorization>
        <deny users="?"/>
      </authorization>
    </system.web>
  </location>
Sin embargo... entro en http://localhost/webPruebas/Autoriza...Autoriaza.aspx ... Y ME DEJA ENTRAR !!!

POR QUE COJONES PASA ESO ???

En fin, espero puedan ayudarme, por que me estoy volviend loco.,....
__________________
Charlie.