I need to fill out a javascript form that can bypass the “same origin policy” that most modern browsers implement.
I created a script that opens the desired website / form in a new browser. With the handler returned by the window.open method, I want to get the inputs using WindowHandler.document.getElementById ('inputx') and populate them (access is denied).
Is it possible to solve this problem using Isapi Rewrite ( official site ) in IIS 6 acting as a reverse proxy? If so, how do I set up a reverse proxy?
Here is how far I got:
RewriteEngine on RewriteLogLevel 9 LogLevel debug RewriteRule CarChecker https://the.actualcarchecker.com/CheckCar.aspx$1 [NC,P]
Rewriting works http://ourcompany.com/ourapplication/CarChecker , which is obvious when registering. From within our site, I can launch the token as if it were in our own domain. In addition, the "same origin policy" is still valid.
Update
I stopped using Isapi Rewrite, since the free version does not include a proxy component. I started using url-rewriter from Managed Fusion.
My current working rewrite:
RewriteRule /MySecuredSite/CarChecker https://the.actualcarchecker.com [NC,P]
Now I get the error message: The main connection was closed: Failed to establish trust for the SSL / TLS secure channel.
I think this is happening because our ssl certificate is being sent to the carchecker website. How to set up a reverse proxy to transfer a carchecker site certificate?
Hi,
Michelle
source share