Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Load balancer and IP Question Questions

Posted on 2006-10-24
5
Medium Priority
?
195 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 1000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

885 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