Solved

JSP,Tomcat,WCF,IIS

Posted on 2011-09-28
1
799 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

739 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