SWF Flash Content type rewrite via IAG
I have seen this question being asked several times that if its possible to rewrite the SWF/ Flash content type via IAG?. Now the question is whats so different with SWF / Flash content type ?. Lets first understand what is the issue. IAG cannot rewrtie the absolute URL's within the swf / flash content type because its a complied bytecode. IAG doesnt know how to handle these SWF URL's and therefore you cant tell the IAG engine to HAT the URL's if you are publishing a flash based application via IAG.
Important concept to understand is about the URLs within the Flash app. If the URL is just an absolute path the WhlHAT cookie should take care of it without any issues or if you think its not rewriting the URL path then you can use the "manual reroute" to handle under advance trunk --> application access portal tab on IAG console and that will rewrite the signed part of the HAT URL.
However if within Flash app there are full URL's and they are pointing to internal servers then IAG cannot rewrite these URL's. to handle this situation there is another solution via IAG called Hat via Proxy. “HAT via Proxy” solution is implemented by publishing a dedicated application that you add to the portal --> the Enhanced HAT application in the Wizard when you setup the application.
So when you publish the application HAT via Proxy its pretty much tunneling the SSL traffic but "enhanced HAT" (aka Hat Via Proxy) instead of actually fully processing the request over the tunnel and all subsequent clicks/link that are not HATed, sends back a redirect and asks the browser to re-request the link in a signed format (IAG HAT format), and hence not needing the generic tunnel except for that first request.This is how swf/ flash embeded URL's are actually rewritten by IAG by intercepting the complied byte code and SWF based flash URLs work as expected.
Comments
- Anonymous
August 30, 2010
Thank you Faisal. For posting a rare but important thing about IAG. Can you please elaborate more indetails with example? I would be very much thankful to you.