Thursday, 15 August 2013

asp.net - How to change the IP Address of http request? -



asp.net - How to change the IP Address of http request? -

i have 2 applications hosted on individual physical servers.

authentication application - servera - can accessed anywhere some business application - serverb - must accessed servera application only

the access rule: "server-b can take request server-a's ip address".

user first goes authentication application(aspx page) , provides credentials. on successful login, redirecting user server-b. while redirection, end user's ip address remains persistent, , server-b interprets request raised somewhere else.

there solution using proxy server. can install proxy server on server-a , redirect request through (webproxy object) ip remain same requests server-b.

but wanted know... there way without proxy? there chances accomplish through request ip address spoofing? or else didn't think about??

you alter access rule this: "server-b can take requests referred server-a's ip address"

then check url referrer on first request after authentication , allow user's ip address point forward.

otherwise, proxy way enforce original rule know of.

asp.net .net asp.net-mvc iis

No comments:

Post a Comment