all groups > dotnet jscript > october 2005 >
You're in the

dotnet jscript

group:

Frames Question



RE: Frames Question Cowboy (Gregory A. Beamer) - MVP
10/14/2005 6:12:02 AM
dotnet jscript: There is no way to completely avoid this, but you can make it harder. One
method is to check the names of the pages in the frames and swap them via
JavaScript. Your client can edit the JavaScript, as well, however, so this
only makes it harder, not impossible.

If their method of change is embedding your page in their frame, you can
make sure your page is in the frame of the correct name and call your top
level page (Frameset) if not.

Both techniques above use JavaScript to have the client become your traffic
cop.

You can also move away from frames and set up the mandatory elements in a
"master page" type of set up. This will definitely make it harder.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


[quoted text, click to view]
Frames Question ruca
10/14/2005 10:27:57 AM
Hi,

I have a Web Application that have 3 frames. Top, Contents and Main are the
3 frames presents in App.
My Top frame have only a image and a label, both represent application.
My Contents frame, basically is where i have menu items.
My Main frame is where the items choosen are displayed.

What I want to know, is if there is anyway to avoid that my clients (were I
have app installed) chenge the top frame with another page that is not mine.

How can I avois this??? Please send me some ideas and examples.

I already think in some solutions but not infallible, like for example in
each link that I have open the result in Main frame and my defined page in
Top frame.

Help please :)



--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

AddThis Social Bookmark Button