Boa Tarde galera! Sou adm de um site em .asp, estou com um problema de segurança no admin. Como não fui eu quem fez o site, estou surtando rs... Quando entro na pagina do admin ele pede login e senha, ok digito tudo la e entro. Porém, se eu digitar a url direto no navegador (www.fulanodetal/admin/home.asp) ele entra direto sem pedir login e senha, e assim sucessivamente nas demais paginas no admim. vou colra o código aqui das paginas, já tentei algumas correções mas deu erro... Help-me please!!! code da pagina de login: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="pt-br">
<link rel="stylesheet" href="css/jquery.wysiwyg.css" type="text/css" />
<link rel="stylesheet" href="estilo.css" type="text/css" />
<link type="text/css" href="css/redmond/jquery-ui-1.8.4.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.4.custom.min.js"></script>
<script LANGUAGE="JavaScript">
<!--//
function envia()
{
window.open('envia_senha.asp?login='+document.fale.usuario.value,'esqueceu','width=640,height=180,top=0,left=0,scrollbars=no');
document.fale.usuario.focus();
}
//-->
</SCRIPT>
<script language="JavaScript">
function dadosok()
{
var texto, mensagem, erro;
mensagem = 'Campos imcopletos .....'
erro=false;
// teste campo nome
texto = document.fale.usuario.value;
if (texto.length == 0)
{
mensagem+='\n- usuário';
erro=true;
}
// teste campo senha
texto = document.fale.senha.value;
if (texto.length == 0)
{
mensagem+='\n- Senha';
erro=true;
}
if (erro)
alert(mensagem);
else
;
return !(erro);
}
</script>
<STYLE type="text/css">
<!--
.link { text-decoration: none; color: #666666}
.link:hover { text-decoration: underline; color: #9CC307}
.link1 { text-decoration: none; color: #9CC307}
.link1:hover { text-decoration: underline; color: #9CC307}
.style5 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
.style6 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
}
-->
</STYLE>
<link href="estilo.css" rel="stylesheet" type="text/css">
</head>
<!--#include file="connect.asp" -->
<body topmargin="0" leftmargin="0" link="#666666" vlink="#666666" alink="#666666" bgcolor="#CCCCCC">
<table width="837" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border:1px solid #EDEDED;">
<tr>
<td width="837" height="154" valign="top"><a href="home.asp"><img src="imagens/topoadm.jpg" width="837" height="154" border="0" usemap="#Map"></a></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="3,37,358,109" href="home.asp">
<area shape="rect" coords="602,72,810,93" href="mailto:contato@.com.br ">
</map>
code da home
<!--#include file="inCima.asp" -->
<table width="837" border="0" align="center" bgcolor="#FFFFFF" style="border:1px solid #EDEDED;">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" class="style6">Escolha o que deseja gerenciar:</td>
</tr>
<tr>
<td colspan="2" class="style6"> </td>
</tr>
<tr>
<td colspan="2" class="style6"><table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="5%"><a href="quemsomos.asp"><img src="imagens/somos.png" width="32" height="32" border="0"></a></td>
<td width="95%" class="style5">Quem somos</td>
</tr>
<tr>
<td><a href="ListaArtigos.asp?Cat=2"><img src="imagens/atuacao.png" width="32" height="32" border="0"></a></td>
<td class="style5">Áreas de atuação</td>
</tr>
<tr>
<td><a href="ListaProfiss.asp"><img src="imagens/profissionais.png" width="32" height="32" border="0"></a></td>
<td class="style5">Profissionais</td>
</tr>
<tr>
<td><a href="ListaArtigos.asp?cat=3"><img src="imagens/artigos.png" width="32" height="32" border="0"></a></td>
<td class="style5">Artigos</td>
</tr>
<tr>
<td><a href="ListaLinks.asp"><img src="imagens/links.png" width="32" height="32" border="0"></a></td>
<td class="style5">Links</td>
</tr>
</table></td>
</tr>
</table>