Connecting Tech Pros Worldwide Help | Site Map

Sessions in a popup window

  #1  
Old November 16th, 2006, 08:55 AM
Raffi
Guest
 
Posts: n/a
We have an application that runs in a popup window with custom menus,
toolbars etc. The application uses session cookies. We would prefer for
the session cookies to be valid only in the popup window. In other
words, if the user cuts and pastes the URL into the opener address bar,
the session should not be valid (the application should not run) in the
opener window. Is there any way to enforce this behavior with the
window.open method or otherwise?

Thanks,
Raffi

  #2  
Old November 16th, 2006, 10:35 AM
shimmyshack
Guest
 
Posts: n/a

re: Sessions in a popup window


no there isnt really, not in the days of greasemonkey, what about those
people using firefox who have their settings to open all windows in a
new tab.
However, since an open window has an "opener" you could try chatting
between them at intervals.
What exactly are you trying to protect by doing this? The code to your
webpage because you are also locking down the right click, a freebie
proxy server will reveal all your data, even if you use SSL, so youve
already lost that fight.
Anything that is downloaded to your clients user-agent is immediately
vunerable to alteration, cookies can be played around with, and your
webcode itself can be filtered proxied, altered using greasemonkey
saved to hard disk using an injected iframe etc...
protection of web source is like keeping water from running through
your cupped hands. I have some super-glue if you think it will help.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigate in popup window ruca answers 6 November 20th, 2005 05:08 PM
Navigate in popup window ruca answers 6 November 20th, 2005 04:37 PM
Navigate in popup window ruca answers 6 November 18th, 2005 08:59 AM
Navigate in popup window ruca answers 3 November 18th, 2005 08:33 AM
Navigate in popup window ruca answers 3 November 18th, 2005 07:58 AM