Solved

JSP,Tomcat,WCF,IIS

Posted on 2011-09-28
1
802 Views
Last Modified: 2012-08-14
We have a Java application running on Tomcat server. I have a jQuery function on one jsp which calls a WCF service hosted on IIS 6.0. I get  the following message.

"This page is accessing information that is not under its control. This poses a security risk. Do you want to continue"

If I say No, I am getting javascript error "Access denied" to the jQuery1.4.4.min.js

What could be the problem?
0
Comment
Question by:dotnetkb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 36717827
This is a built-in security measure that Javascript has. Only calls to websites on your domain are allowed by default. This prevents a LOT of phishing attacks and cross-site scripting attacks.

If you create a java web service that you post to and have that call the service on IIS, it will work fine. This ensures that the code executed via javascript resides on the same server that the page was served from - implying a level of trust.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question