I asked the group a while ago regarding using the password protection
Paul has in his book.
I have managed to set this up, change the setting so that the password
is not visable in the text box, and had it running succesfuly on our
Intranet site.

One main issue I have found though, when you click back in IE6, and then
click Forward again, the protected page is reloaded straight away.

Now, is there a way using onUnload, to prevent this happening?.

If I move forwardfrom that page, I still want to be able to go Back to
the page in question but not Forward to it.

> From: Keith Pawson [mailto:kpawson@...]
> Sent: May 1, 2002 9:26 AM
> request
>
>
> Hi all.
>
> I asked the group a while ago regarding using the password protection
> Paul has in his book.
> I have managed to set this up, change the setting so that the password
> is not visable in the text box, and had it running succesfuly on our
> Intranet site.
>
> One main issue I have found though, when you click back in IE6, and then
> click Forward again, the protected page is reloaded straight away.
>
> Now, is there a way using onUnload, to prevent this happening?.
>
> If I move forwardfrom that page, I still want to be able to go Back to
> the page in question but not Forward to it.
>
> Hope this makes sense.
>
> Regards
> Keith Pawson
>
>
>
>
>

> From: Keith Pawson [mailto:kpawson@...]
> Sent: May 1, 2002 9:26 AM
> request
>
>
> Hi all.
>
> I asked the group a while ago regarding using the password protection
> Paul has in his book.
> I have managed to set this up, change the setting so that the password
> is not visable in the text box, and had it running succesfuly on our
> Intranet site.
>
> One main issue I have found though, when you click back in IE6, and
then
> click Forward again, the protected page is reloaded straight away.
>
> Now, is there a way using onUnload, to prevent this happening?.
>
> If I move forwardfrom that page, I still want to be able to go Back to
> the page in question but not Forward to it.
>
> Hope this makes sense.
>
> Regards
> Keith Pawson
>
>
>
>
>

That particular script is only designed to keep out people who don't know
the address. What they are entering is just the page name minus the .html.
They can then go back and forward and in fact book mark the page. You will
need to get fancier if you want to hide things better.

Some ideas for cobbles that come to mind are a cookie that won't load unless
it is sufficiently refreshed at the password log-in page (set a time limit
on it), set the thing in frames so the bookmarking is a little tougher, etc.

If you really need persistantly checked password protection, you have to get
a lot fancier.