ip filter




JavaScript Source Code 3000: User Details: IP Address Filter






































IP Address Filter







(Netscape 4.0+ with Java enabled only!) JavaScript can prevent visitors with certain IP addresses from visiting your site. Simply enter part of their IP address (the more you enter the greater the chance only the intended person will not be able to enter your site) and they will not be able to enter the site. If anyone has a Internet Explorer workaround, we'd love to post it here!









JavaScript Source Code 3000: User Details: IP Address Filter
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!





    





<!-- ONE STEP TO INSTALL IP ADDRESS FILTER:

1. Copy the coding into the HEAD of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<! >
<! >

<!-- Begin
netscape = (navigator.appName.indexOf("Netscape") != -1);
version4 = (navigator.appVersion.indexOf("4.") != -1);

if (netscape && version4) {
ip = "" + java.net.InetAddress.getLocalHost().getHostAddress();
if (ip.indexOf("207.136") >= -1)
// This would block anyone from 207.136.xxx.xxx

{
alert("You are not permitted to access this site.");
history.go(-1);
}
}
// End -->
</script>



<!-- Script Size: 0.79 KB -->










Wyszukiwarka

Podobne podstrony:
IP Filter HOWTO
Fire Wall oparte na IP Filter
ip filter
Linux Online Firewall and Proxy Server HOWTO IP filtering setup (IPCHAINS)
Linux Online Firewall and Proxy Server HOWTO IP filtering setup (IPFWADM)
Sciany ogniowe oparte o IP Filter
pkt filtering in an ip rtr
adresy masek a adresy ip
ip output c (3)
Sieci Ramka IP
ip h (10)
Dust free filter change
function stream filter append

więcej podobnych podstron