view source

L

Lora

How do i hide the coding so that the public cannot see my
password info in the ie view source?
 
S

Steve Easton

You can't.
Even of you try all of the disable right click
scripts etc, all a person has to do is get the
file from their temporary internet files and read it.

If it's something that you seriously need password
protected, don't use javascript to do it.

I would suggest using FrontPage to password protect
a subweb within your website and place the content you
want protected into the subweb.

hth
 
L

Lora

It is not that serious an issue, just don't want
it "that" obvious. Password protecting from front page to
a sub web only makes it uneditable, not unviewable.
So, if I don't care about the temp files, what would the
script be?
Lora
 
L

Lora

Thanks, but, forgot to mention, my server doesn't support
asp.
I need a java script but can't find one online.
 
J

JDR

Lora,

Here is a java script that encrypts the password:
http://www.dynamicdrive.com/dynamicindex9/password.htm

If you are only looking to protect a page or two, this would probably work fine, but it sounds like your host is using Unix / Apache. If this is the case you may want to check and see if they have htaccess or php, as these will be much better for protecting many pages.

Hope it helps
JDR
********************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top