Solved

JSP,Tomcat,WCF,IIS

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSO via Webmail site, Exchange 2010. 1 34
IIS Page - Getting a Runtime Error 3 55
WEB Farm 6 70
Best training I should take for current job? IIS or RSA? 4 27
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

803 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