GWT‘s Same Origin Policy (SOP) problem is common especially for newbies. This happens if your GWT front end client accesses a remote service that is hosted in the same local domain in your PC but having a different port.

Browsers still considers this a violation of the SOP policy. I have read that Internet Explorer has a lax web security policy so you may be able to use that without encountering this restriction. However, Internet Explorer sucks and Firefox is just too damn heavy to load even with just one tab.

So I am left with Google Chrome. You can run Google Chrome with web security disabled but I would advise you to create it as a shortcut in Windows and create an alias in Mac OS. Here is how I did them.

Windows

  1. right click anywhere on your desktop, choose New > Shortcut
  2. then type this in the text field C:\Users\[USERNAME]\AppData\Local\Google\Chrome\Application\chrome.exe –allow-file-access-from-files –disable-web-security
  3. click OK

Mac OSX

  1. open Terminal
  2. edit your .profile file
  3. add this to the end of the file alias chromegwt=’/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome –disable-web-security’
  4. save file
  5. close Terminal window or open a new Terminal window tab then type chromegwt and you should then see Google Chrome launch without web security.

Note: you can rename it any name you want. I just used chromegwt so I would know that this Chrome is used only for GWT purposes.

Remember not to use this same browser when browsing the web as it can lead to disastrous results.

If you are one of the handfuls left using the Internet Explorer browser from Microsoft, then it is time to update your browser to the latest version. Microsoft has launched the finished version of its Internet Explorer 9 web browser.

The company said IE9’s graphics handling, security and privacy features put it on an even footing with Firefox, Chrome, Safari and others. The release comes as Microsoft’s browser market share is being whittled down by a growing roster of rivals.

Competition is also coming from non-browser traffic generated by mobile phones and tablets. Microsoft said one key feature in IE9 was tools to stop people being tracked as they move from site to site. This information is often gathered by commercial firms to tailor ads to the specific habits of web users.

In addition, said Microsoft, separate tools in IE9 keep an eye on downloads so they can spot when viruses and trojans try to sneak onto a computer.

IE9 also has hardware acceleration built in so it can call on the power of a PC’s graphics card to display sites in more detail.

The launch comes at a critical time for Microsoft as, one survey suggests, its Internet Explorer browser is suffering a long-term decline.

Again?! A recently discovered flaw in Internet Explorer could allow criminals to collect passwords and banking information. Microsoft is warning Windows users to be aware of the problem, with a manual work-around available, but there is no downloadable software fix available yet.

Users of Windows versions from XP to Windows 7 are at risk, Microsoft says.

Chester Wisniewski, of Sophos security software, noted on the company’s blog that there is “proof of concept code in the wild and it seems to be only a matter of time before we see criminals trying to exploit this flaw”.

If you are unsure of what to do, the best thing may be to switch to another Web browser for now, such as Firefox or Chrome. Then again … are there still that many who uses IE nowadays?

Related Posts Plugin for WordPress, Blogger...