The default install of the new IE8 has "Allow websites to prompt for information using scripted windows" disabled in its Security Settings. So, if you have Java password script to password protect a webpage it won't work unless the IE8 settings are changed. Currently, 40% of visitors to the website use IE8 but I don't wish to ask users to change their settings (they may not wish to do it or they may not be capable of doing it).

Is there any HTML code that I can add to a page to password protect it (only one password required without a username) that doesn't use Java scripted windows that is also secure? I was going to use a product like HTML Guardian to encrypt the pages if this helps with the password security.

Would appreciate any code or suggestions to password protect a single page.