Title: Re: Access denied problem is driving me nuts

This is in response to Access denied problem is driving me nuts dated Jan 19, 2006:

I'm new to watir and ruby and am currently checking it's feasibility against some of our in-house applications, one of the apps uses frames and most of the workarounds that I found on the forums didn't seem to help or didn't meet my needs.  I'm not sure what's going on under the hood exactly and why the 'cross-site scripting' would apply to my particular application since it seems that all the content is coming from the same location -- but my symptoms were the same.

 
The latest workaround I found posted -- basically aliasing the domain in the hosts file worked like a charm.  I also stumbled onto another while working with this -- if I put the domain of the webpage that's causing problems into my 'Trusted Sites' in IE settings, it also gets around the 'Access denied' problems with frames.  I suspect this may be cleaner because anytime that domain is used it should be covered, whereas with the alias I suspect that if a fully qualified URL is used at some point (say by accessing an application link) that you could run into issues again.

E.g.  If my URL is "http://testserver.twtelecom.com:5005/<application>" and I put "testserver.twtelcom.com" into my trusted sites, I can access and work with the frames with no problems (at least, so far).

Anyway, not sure if this works in all the 'cross-site scripting' situations, but just FYI if someone does get that wiki going.  :-)

Thanks for all the help -- great tool and great forum.

Bill

The content contained in this electronic message is not intended to
constitute formation of a contract binding TWTC. TWTC will be
contractually bound only upon execution, by an authorized officer, of
a contract including agreed terms and conditions or by express
application of its tariffs.

This message is intended only for the use of the individual or entity
to which it is addressed. If the reader of this message is not the
intended recipient, or the employee or agent responsible for
delivering the message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to
the sender of this E-Mail or by telephone.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to