"Access is Denied" on resizeTo and moveTo methods

F

Frances Del Rio

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
 
M

Martin Honnen

Frances said:
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?
 
M

MikeT

Frances Del Rio said:
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.
 
F

Frances Del Rio

Martin said:
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
 
M

Michael Winter

[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
 
T

Thomas 'PointedEars' Lahn

Frances said:
Martin said:
Frances said:
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:

so either way scripts are run in browser, not on any server.. [...]

Does not matter here.


PointedEars
 
R

Randy Webb

Thomas said:
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.
 
L

Lasse Reichstein Nielsen

Randy Webb said:
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.)
 
F

Frances Del Rio

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 said:
[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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top