Añadir Imagen Corporativa en Mensaje de Autenticacion
-
Azorrilla345
- Mensajes: 4
- Registrado: 05 May 2014, 22:05
Añadir Imagen Corporativa en Mensaje de Autenticacion
buenas tardes,
quiero saber como incluir dentro del mensaje de reemplazo de autenticacion, una imagen corporativa que ya está alojada en el forti80c.
por ahora voy asi,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">html,body{height:100%;padding:0;margin:0;}.oc{display:table;width:100%;height:100%;}.ic{display:table-cell;vertical-align:middle;height:100%;}form{display:block;background:#2A2A2A;border:8px solid blue;padding:0 0 10px 0;width:500px;font-family:helvetica,sans-serif;font-size:14px;margin:10px auto;}.fel,.fer,.fec{text-align:center;width:350px;margin:0 auto;padding:10px;}.fel{text-align:left;}.fer{text-align:right;}h1{font-weight:bold;font-size:21px;margin:0;padding:20px 10px;text-align:center;}p{margin:15px auto;width:75%;text-align:left;}ul{margin:15px auto;width:75%;}h2{margin:25px 10px;font-weight:bold;text-align:center;}label,h2{font-size:16px;}.logo{background:#eee center 25px url(%%IMAGE:logo_fw_auth%%) no-repeat;padding-top:80px;}</style><title>Firewall Authentication</title></head><body><div class="oc"><div class="ic"><form action="%%AUTH_POST_URL%%" method="post"><input type="hidden" name="%%REDIRID%%" value= "%%PROTURI%%"><input type="hidden" name="%%MAGICID%%" value="%%MAGICVAL%%">
<BODY BGCOLOR="#AAAAAA">
<div align="center">
<h2><FONT FACE="tahoma"color="#FFFFFF" size="4"> XXXXX XXXXXX</font></h2>
<h2><FONT FACE="tahoma"color="#FFFFFF" size="4"> XXXXXXXXXXXXXX</font></h2>
<h2><b><FONT FACE="tahoma" color="#FFFFFF" size="4">Zona de Autenticación del Firewall</font></b></h2>
<div class="fer"><label for="un"></label>
<div align="center">
<input name="%%USERNAMEID%%" id="un"type="password" style="width:180px">
<br>
</div>
</div>
<div class="fer"><label for="pd">
<div align="center"></div>
</label>
<div align="center">
<input name="%%PASSWORDID%%" id="pd" value="xxxxx" type="hidden" type="password" style="width:245px">
</div>
</div>
<div class="fer">
<div align="center">
<input style="width: 120px; height: 32px;" name="submit" value="INGRESAR" type="submit" />
</div>
</div>
</form></div></div></body></html>
AGRADESCO EL APOYO
quiero saber como incluir dentro del mensaje de reemplazo de autenticacion, una imagen corporativa que ya está alojada en el forti80c.
por ahora voy asi,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">html,body{height:100%;padding:0;margin:0;}.oc{display:table;width:100%;height:100%;}.ic{display:table-cell;vertical-align:middle;height:100%;}form{display:block;background:#2A2A2A;border:8px solid blue;padding:0 0 10px 0;width:500px;font-family:helvetica,sans-serif;font-size:14px;margin:10px auto;}.fel,.fer,.fec{text-align:center;width:350px;margin:0 auto;padding:10px;}.fel{text-align:left;}.fer{text-align:right;}h1{font-weight:bold;font-size:21px;margin:0;padding:20px 10px;text-align:center;}p{margin:15px auto;width:75%;text-align:left;}ul{margin:15px auto;width:75%;}h2{margin:25px 10px;font-weight:bold;text-align:center;}label,h2{font-size:16px;}.logo{background:#eee center 25px url(%%IMAGE:logo_fw_auth%%) no-repeat;padding-top:80px;}</style><title>Firewall Authentication</title></head><body><div class="oc"><div class="ic"><form action="%%AUTH_POST_URL%%" method="post"><input type="hidden" name="%%REDIRID%%" value= "%%PROTURI%%"><input type="hidden" name="%%MAGICID%%" value="%%MAGICVAL%%">
<BODY BGCOLOR="#AAAAAA">
<div align="center">
<h2><FONT FACE="tahoma"color="#FFFFFF" size="4"> XXXXX XXXXXX</font></h2>
<h2><FONT FACE="tahoma"color="#FFFFFF" size="4"> XXXXXXXXXXXXXX</font></h2>
<h2><b><FONT FACE="tahoma" color="#FFFFFF" size="4">Zona de Autenticación del Firewall</font></b></h2>
<div class="fer"><label for="un"></label>
<div align="center">
<input name="%%USERNAMEID%%" id="un"type="password" style="width:180px">
<br>
</div>
</div>
<div class="fer"><label for="pd">
<div align="center"></div>
</label>
<div align="center">
<input name="%%PASSWORDID%%" id="pd" value="xxxxx" type="hidden" type="password" style="width:245px">
</div>
</div>
<div class="fer">
<div align="center">
<input style="width: 120px; height: 32px;" name="submit" value="INGRESAR" type="submit" />
</div>
</div>
</form></div></div></body></html>
AGRADESCO EL APOYO
Re: Añadir Imagen Corporativa en Mensaje de Autenticacion
hola, que firmware tenes???
NSE 7 – Fortinet Network Security Architect
NSE 5 - Network Security Analyst
NSE 5 - Network Security Analyst
-
Azorrilla345
- Mensajes: 4
- Registrado: 05 May 2014, 22:05
Re: Añadir Imagen Corporativa en Mensaje de Autenticacion
Hola esl firmware es el v4.0,build0672,130904 (MR3 Patch 15)
Re: Añadir Imagen Corporativa en Mensaje de Autenticacion
hola, la imgen la podes usibir por web ui en system -> config -> Remplacement menssages -> Manage Images.
Luego podes remplazar la que aparesca en el message por la que subiste.
A demas de saber HTML
por ejemplo donde dice: url(%%IMAGE:logo_fw_auth%%) si subiste un logo, pondrias url(%%IMAGE:nuevo_logo%%)
nuevo_logo, es el nombre de la imagen que subiste.
saludos.
Luego podes remplazar la que aparesca en el message por la que subiste.
A demas de saber HTML
por ejemplo donde dice: url(%%IMAGE:logo_fw_auth%%) si subiste un logo, pondrias url(%%IMAGE:nuevo_logo%%)
nuevo_logo, es el nombre de la imagen que subiste.
saludos.
NSE 7 – Fortinet Network Security Architect
NSE 5 - Network Security Analyst
NSE 5 - Network Security Analyst
