Detecting if a browser is using Private Browsing mode

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-05-18T20:28:05Z Indexed on 2010/05/18 20:30 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

I'm building an extranet for a company paranoid about security. They want to make sure that (among other things) their users are browsing the site with the Private Browsing mode switched on in their web browser so that no cookies or history is kept.

I found only this http://jeremiahgrossman.blogspot.com/2009/03/detecting-private-browsing-mode.html and http://serverfault.com/questions/18966/force-safari-to-operate-in-private-mode-and-detect-that-state-from-a-webserver

The ideal solution would use no or minimal javascript. Would attempting to set a unique cookie work for all browsers and platforms? Anyone done this before?

thanks!

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript