<Limit GET POST>
order deny,allow
allow from 127.0.0.1
deny from all
</Limit>
creo que ahi iria.
Ya me funciona con este codigo.
<?php
include("Connections/ip.php");
$busqueda= mysql_query("SELECT ip FROM maquina WHERE ip='".$_SERVER['REMOTE_ADDR']."'",$ip) or die(mysql_error());
if(mysql_num_rows($busqueda)!=0){
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<body>
<style type="text/css">
<!--
body {
background-color: #0066FF;
}
.Estilo1 {font-size: 24px}
-->
</style><form action="validar_usuario.php" method="post">
</head>
<div align="center">
<p> </p>
<p class="Estilo1"></p>
<p> </p>
<table width="200" border="2">
<tr>
<th scope="row">Contraseña</th>
<td><input name="password" type="password" id="password" size="10" maxlength="10" /></td>
</tr>
</table>
<p>
<input type="submit" value="Aceptar" />
</p>
<br />
</div>
</form>
<?php }else{ ?>acceso denegado<?php } ?>
</body>
</html>
Muchas Gracias por la ayuda