By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

Move outside results in permission denied?

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a

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

P: n/a
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

P: n/a

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 discussion thread is closed

Replies have been disabled for this discussion.