Solved

Load balancer and IP Question Questions

Posted on 2006-10-24
5
190 Views
Last Modified: 2013-12-24
Some of my apps verify that the ip address is allowed to access the app… but this isn’t working because all requests are going through the load balancer and the cgi.remote_host (what i currently use to verify a users ip) is always going to show the load balancer.  How do I work around this issue?
0
Comment
Question by:polobruce
  • 2
5 Comments
 
LVL 36

Expert Comment

by:SidFishes
ID: 17796621
AFAIK, don't think there's much to do about it except create a "proper" user authentication scheme using a login and password. IP solutions are dodgy at best and as you are seeing can all sorts of unforseen issues. Plus services like AOL route all traffic through a few IPs in Virginia and anyone with a dynamic address (dialup) would be SOL. Maybe that's not an issue for your app but it does show the weakness of IP authentication.
0
 

Author Comment

by:polobruce
ID: 17798465
So SideFishes, there is no way to get the clients ip instead of the load balancers ip?
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 250 total points
ID: 17798891
afaik, not in CF. From what I've read some load balancers can be set up to modify http headers with http-proxy information and some can be set to "transparent" mode...but this really is dependant on what you are using for LB (and is certainly beyond me)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question