Hi Chris, Thanks for the prompt reply. Just to add, i am trying to restrict users from a particular country to access a particluar catalog on my website, to maitain price confidentiality. I am looking at something basic, as there is no fool proof way to do it (atleast i am not aware of it). One can simply use a proxy server in another country to gain access to the site.
Rohit cjhowe wrote: > > 1) Create service to determine geo of Id > 2) Create method either in java or simple-mehthod, > defining break points to various requests under the > conditions you specifiy. > 3) Have service run as a <preprocessor> in the > ecommerce/WEB-INF/controller.xml > > Being as you're looking for a solution in which you're > trying to sell things (ecommerce), I'm not sure I'd be > comfortable with the reliability of the various means > to determine the geography of an IP (false positives > for someone being outside your sales area). This > might give you some ideas on how to determine the geo > though... > http://www.private.org.il/IP2geo.html > > You would want to define a geo area using the various > geo entities to compare in your service. Hope this > points you in a workable direction. > > --- rohit2006 <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> we are looking to redirect / restrict access based >> on geographical location >> of IP to our ofbiz ecommerce application. Has >> anybody has done it or >> something similar? Any suggestions or ideas on how >> to do it? >> >> Thanks >> >> Rohit >> >> -- >> View this message in context: >> > http://www.nabble.com/Redirect---restrict-access-based-on-geographical-location-of-IP.-tf2386877.html#a6653874 >> Sent from the OFBiz - User mailing list archive at >> Nabble.com. >> >> > > > -- View this message in context: http://www.nabble.com/Redirect---restrict-access-based-on-geographical-location-of-IP.-tf2386877.html#a6654163 Sent from the OFBiz - User mailing list archive at Nabble.com.
