469,283 Members | 2,166 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,283 developers. It's quick & easy.

"Access is Denied" on resizeTo and moveTo methods

I'm getting Getting "Access is Denied" on resizeTo and moveTo methods in
IE (IE 6.0..) I saw two posts about this from 7/6 & 7/7.. I suspect,
like previous poster said, that this has to do w/MS Windows Updates
(Tools --> Windows Update in IE..) because this started happening to me
recently (ONLY in IE, works fine in N7), and I updated about two weeks
ago (AND: this is happening to me also at work, where I have same OS
(W2000 Pro), and also updated about two weeks ago..) now does Microsoft
have a system for users to communicate this kind of stuff to them??
this bug shouldn't be too hard for them to fix.. thank you for any
suggestions..

Frances Del Rio
Jul 23 '05 #1
8 7354


Frances Del Rio wrote:
I'm getting Getting "Access is Denied" on resizeTo and moveTo methods in
IE (IE 6.0..) I saw two posts about this from 7/6 & 7/7.. I suspect,
like previous poster said, that this has to do w/MS Windows Updates
(Tools --> Windows Update in IE..) because this started happening to me
recently (ONLY in IE, works fine in N7), and I updated about two weeks
ago (AND: this is happening to me also at work, where I have same OS
(W2000 Pro), and also updated about two weeks ago..) now does Microsoft
have a system for users to communicate this kind of stuff to them?? this
bug shouldn't be too hard for them to fix..


Access denied usually happens when you try to script a window/document
from one host with script in a HTML page loaded from another host. Is
that the case?

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 23 '05 #2
Frances Del Rio <fd***@yahoo.com> wrote in message news:<2o************@uni-berlin.de>...
I'm getting Getting "Access is Denied" on resizeTo and moveTo methods in
IE (IE 6.0..) I saw two posts about this from 7/6 & 7/7.. I suspect,
like previous poster said, that this has to do w/MS Windows Updates
(Tools --> Windows Update in IE..) because this started happening to me
recently (ONLY in IE, works fine in N7), and I updated about two weeks
ago (AND: this is happening to me also at work, where I have same OS
(W2000 Pro), and also updated about two weeks ago..) now does Microsoft
have a system for users to communicate this kind of stuff to them??
this bug shouldn't be too hard for them to fix.. thank you for any
suggestions..

It's not a bug so much as a half-arsed attempt by microsoft to
get around a security problem. If resizeto/moveto are allowed, it
is possible for someone to click on an element with a mousedown
script that moves the window out of the way of the cursor such that
the mouseup event gets sent to whatever was underneath the window
(be that a popunder window or the user's desktop etc).

The proper solution would be to stop the mouse event leaving
IE, but no, they just disabled the ability to move the window
within scripts triggered by certain mouse events.

Moral - don't move the user's windows about, let them do it and
we'll all be happy.
Jul 23 '05 #3

Martin Honnen wrote:


Frances Del Rio wrote:
I'm getting Getting "Access is Denied" on resizeTo and moveTo methods
in IE (IE 6.0..) I saw two posts about this from 7/6 & 7/7.. I
suspect, like previous poster said, that this has to do w/MS Windows
Updates (Tools --> Windows Update in IE..) because this started
happening to me recently (ONLY in IE, works fine in N7), and I updated
about two weeks ago (AND: this is happening to me also at work, where
I have same OS (W2000 Pro), and also updated about two weeks ago..)
now does Microsoft have a system for users to communicate this kind of
stuff to them?? this bug shouldn't be too hard for them to fix..

Access denied usually happens when you try to script a window/document
from one host with script in a HTML page loaded from another host. Is
that the case?


ahhh, I don't quite understand yr question.. JavaScript is client-side,
so either way scripts are run in browser, not on any server.. right now
I'm at work and now at work it works, go figure.. ok, thanks.. Frances

Jul 23 '05 #4
On Mon, 16 Aug 2004 09:23:14 -0400, Frances Del Rio <fd***@yahoo.com>
wrote:

[cross-domain security]
ahhh, I don't quite understand yr question.. JavaScript is client-side,
so either way scripts are run in browser, not on any server.. right now
I'm at work and now at work it works, go figure.. ok, thanks.. Frances


Martin was referring to a security issue which arises when you try to
access a document that is located on another server. This often occurs
with frames, but it could just as easily apply to a secondary window.

Did the window you were attempting to manipulate contain a document that
came from an external source?

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail
Jul 23 '05 #5
Frances Del Rio wrote:
Martin Honnen wrote:
Frances Del Rio wrote:
I'm getting Getting "Access is Denied" on resizeTo and moveTo methods
in IE (IE 6.0..) [...]
Access denied usually happens when you try to script a window/document
from one host with script in a HTML page loaded from another host. Is
that the case?


ahhh, I don't quite understand yr question..


Yes, indeed you do not.
JavaScript is client-side,
JavaScript is but a language and there are also server-side applications
using it (or its "siblings" like JScript). However, the question is valid
and has indeed to do with client-side scripting, but the term "host" is
bordering to wrong in this context:

<http://www.mozilla.org/projects/security/components/same-origin.html>
so either way scripts are run in browser, not on any server.. [...]


Does not matter here.
PointedEars
--
Your mouse has moved. Windows must be restarted
for the change to take effect. Restart now?

[OK] [Cancel]
Jul 23 '05 #6
Thomas 'PointedEars' Lahn wrote:
JavaScript is but a language and there are also server-side applications
using it (or its "siblings" like JScript).


JScript is not the "sibling" of javascript. They are but two
implementations of the same concept. To call them siblings is a mis-nomer.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #7
Randy Webb <Hi************@aol.com> writes:
JScript is not the "sibling" of javascript. They are but two
implementations of the same concept. To call them siblings is a
mis-nomer.


It's not that bad a mis-nomer, is it?

Thomas didn't say JScript was a sibling of "javascript", but of
"JavaScript" - the name of Netscape Corp.'s browser (and server)
scripting language. That's reasonably called a sibling of "JScript",
the name of Microsoft Corp.'s browser (and server (and more))
scripting language.

Given that we don't have a simple unifying name for the general
concept, some way of saying that JScript, Javascript, Opera's ECMAScript+DOM implementation, etc, are related would be nice.
/L
(I use "Javascript" (small "s", not always capitalized) about the
general concept - ECMAScript implementations + DOM used in browsers,
as well as their predecessors.)
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #8
this is home page from my own site, www.francesdelrio.com.. now it
works, both at home and at work.. this is weird.. I mean I haven't done
Windows Upgrade since when I posted this.. VERY WEIRD.. ok, thank you
all for yr responses... (but now I will be forever wary of using this
feature.. I mean I'm designing a site for someone now, and can't take
any chances that they get error messages..) thanks again... Frances

Michael Winter wrote:
On Mon, 16 Aug 2004 09:23:14 -0400, Frances Del Rio <fd***@yahoo.com>
wrote:

[cross-domain security]
ahhh, I don't quite understand yr question.. JavaScript is
client-side, so either way scripts are run in browser, not on any
server.. right now I'm at work and now at work it works, go
figure.. ok, thanks.. Frances

Martin was referring to a security issue which arises when you try to
access a document that is located on another server. This often occurs
with frames, but it could just as easily apply to a secondary window.

Did the window you were attempting to manipulate contain a document
that came from an external source?

Mike


Jul 23 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Dave Hammond | last post: by
1 post views Thread by Winterminute | last post: by
6 posts views Thread by ASP.Confused | last post: by
reply views Thread by ASP.Confused | last post: by
2 posts views Thread by Loane Sharp | last post: by
18 posts views Thread by Jeff Bigham | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.