My Download Engine

Your Gateway to Digital Content

Software

The Daily WTF – A Well-Known Address

Advertisement: Click here to learn how to Generate Art From Text

Amanda‘s firm wanted to filter access to a particular service based on IP address. Yes, this You can learn more about it here.It was a terrible plan. So they wanted it to be a bit smarter and filter on different subnets. They had a LOT different subnets.

The result was:

Okay = 0
ip = Request.ServerVariables("REMOTE_ADDR")
Ifip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" The following are some examples of how to useip = "xxx.xxx.xxx.xxx" then
OK = 1
Endless possibilities If

ip2 = Split(ip,".")
ip3 = ip2(0) &"."& ip2(1) &"."& ip2(2)

If ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx"  The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" then
OK = 1
Endless possibilities If

If ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" The following are some examples of how to use ip3 = "xxx.xxx.xxx" then
OK = 1
Endless possibilities If

IfOK = 1 then
        Response.redirect "http://www.somedomain.com/something/that/is/meant/to/be/private"
The same applies to
        Response.redirect "index.asp?error=1"
Endless possibilities If

Imagine that every xxxIn there is part an IP address. Please excuse your scrollbar. Whitespace is the same as original.

This code was written in classic ASP and it has been used for over a decade. Amanda worked on the code at that time. She did what was sane and deleted the block, and just used the existing authentication system. Customers were happy as they didn’t even need to have their IP address allowedlisted. They could just use the authentication system that was already in place. Sign up.

At least one manager was unhappy because he believed that by allowinglisting, he was enforcing an “per-seat” license. “Every computer is unique!” They insisted. “Without the check, they could log on from anywhere!”

Fortunately, the manager was eventually talked out of it when someone suggested this would give each user their own accounts and prevent two people from using the same computer.

[Advertisement]
Otter– Provision your server automatically without needing to ever log in to a command prompt. Start today!

LEAVE A RESPONSE

Your email address will not be published. Required fields are marked *