473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Move outside results in permission denied?

I will discribe my problem here but the second paragraph will discribe
my setup. I have been working on a project in house and we thouhgt we
were ready to move it outside for the client. However now that it is
outside I get a permission denied error on line 1 char 1. I am using a
simple javascript: parent.scriptname("argument") call. I have been
swithing all kinds of permisiions with no changes. Any ideas?

I am designing a website that is consumed by another website. Basically
I have a dll which wraps my website with a set of Iframes tags and then
displays inside. There is a dll that catches everything there website
does and passes it to mine. The javascript I am calling resides inside
this dll hence my parent.scriptname.

Thanks
Shane

Jul 11 '06 #1
4 1537
I have come to the conclusion is is a matter of partial domain names vs
full domain names. (I could be wrong) My subpage thinks its
document.domain is mycompany.com while my parent page which envelopes
this page in an iframe thinks its document.domomain is
wonderful.mycompany.com. Is there a way to tell my website on load to
get the whole domain? or inherit it from its creater? (I don't think
the last one will work for security reasons.

BLIZZARDICE wrote:
I will discribe my problem here but the second paragraph will discribe
my setup. I have been working on a project in house and we thouhgt we
were ready to move it outside for the client. However now that it is
outside I get a permission denied error on line 1 char 1. I am using a
simple javascript: parent.scriptname("argument") call. I have been
swithing all kinds of permisiions with no changes. Any ideas?

I am designing a website that is consumed by another website. Basically
I have a dll which wraps my website with a set of Iframes tags and then
displays inside. There is a dll that catches everything there website
does and passes it to mine. The javascript I am calling resides inside
this dll hence my parent.scriptname.

Thanks
Shane
Jul 11 '06 #2

BLIZZARDICE wrote:
I have come to the conclusion is is a matter of partial domain names vs
full domain names. (I could be wrong) My subpage thinks its
document.domain is mycompany.com while my parent page which envelopes
this page in an iframe thinks its document.domomain is
wonderful.mycompany.com. Is there a way to tell my website on load to
get the whole domain? or inherit it from its creater? (I don't think
the last one will work for security reasons.
You're probably right. Google for "cross frame scripting"

http://msdn.microsoft.com/library/de...g_security.asp

Luck!
Kev

Jul 12 '06 #3
Thanks.
You didnt fix my problem but you remined one of us here about a
function they wrote into the head that stripped out the full domain
name in favor of just the company.com name on page load. That was
needed for a previous project. Good thing I sent everybody else home
for the day.

Shane

Kevin Darling wrote:
BLIZZARDICE wrote:
I have come to the conclusion is is a matter of partial domain names vs
full domain names. (I could be wrong) My subpage thinks its
document.domain is mycompany.com while my parent page which envelopes
this page in an iframe thinks its document.domomain is
wonderful.mycompany.com. Is there a way to tell my website on load to
get the whole domain? or inherit it from its creater? (I don't think
the last one will work for security reasons.

You're probably right. Google for "cross frame scripting"

http://msdn.microsoft.com/library/de...g_security.asp

Luck!
Kev
Jul 12 '06 #4

BLIZZARDICE wrote:
Kevin Darling wrote:
You're probably right. Google for "cross frame scripting"

http://msdn.microsoft.com/library/de...g_security.asp
Thanks.
Welcome, but be aware that top-posting in replies will get you cremated
around here :-)
You didnt fix my problem but you remined one of us here about a
function they wrote into the head that stripped out the full domain
name in favor of just the company.com name on page load. That was
needed for a previous project. Good thing I sent everybody else home
for the day.
The link I gave above at MSDN also mentions the ability to set
document.domain in each page, so that you don't have to do your head
trick.

Best, Kev

Jul 12 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Stéphane Ninin | last post by:
Hello world, I am fighting with what is probably a stupid problem. In a wxpython GUI, here is a method which must read a file, and if the file is not correctly formed rename it and create a...
11
by: Richard Muller | last post by:
Hi, I new to ASP. I have a problem with an ASP script opening a file for writing on my server. Here's how I got to this error: I downloaded a neat FileUpload ASP example from...
6
by: Jon Montana | last post by:
CDONTS was working well until I installed Exchange 2000. I thought it might be a relay problem, but I allowed the server IP address to relay. Thanks for anything you can offer. here's the...
1
by: Mark E. Hamilton | last post by:
Sorry, I probably should have re-stated the problem: We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's...
10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
1
by: Todd7 | last post by:
I am writing a python program to load a pdf file into an IEHtmlWindow which displays it through adobe acrobat reader 7. Depending on the buttons the user clicks, the program moves it to another...
4
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the...
0
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
4
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.