Forum Moderators: mack

Message Too Old, No Replies

Another htaccess question :-)

Username and Password shown in status bar.

         

Blackcat_UK

9:26 pm on May 4, 2003 (gmt 0)

10+ Year Member



I'm using htaccess to protect some pages and files.

It works great, but I've noticed a problem when anyone is logged in to the protected area and they hover the pointer over a link that's within the protected area.

The URL to the linked item (file or page) is shown in full on the status bar, including the username and password in plain english. For example:

theusername:thepassword@www.mydomain.com/protectedarea/protectedfile.html

Is there any way of preventing this?

dmorison

9:50 pm on May 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Blackcat;

What is the actual content of the href attribute of a link that is displaying this behaviour?

Is it:

Relative, i.e. "protectedfile.html"

Absolute, i.e. "/protectedarea/protectedfile.html"

or

Complete, i.e. "http://www.mydomain.com/protectedarea/protectedfile.html"

Blackcat_UK

10:28 pm on May 4, 2003 (gmt 0)

10+ Year Member



They're relative. ie.

<A HREF="members.html">Members</A>

Does that make a difference then?

dmorison

11:10 pm on May 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hiya,

See your other thread re custom 401 error pages. I think this is all part of the same issue...

[webmasterworld.com...]

Blimey it's late :)

Blackcat_UK

11:12 pm on May 4, 2003 (gmt 0)

10+ Year Member



It is late - thanks for your help. Much appreciated :-)