View Full Version : Stop source code been viewed/Password Protection


s_gubs
01-23-2003, 11:20 PM
Hi,

I know Lissa Explain has a code to stop the source been viewed.
However, this only stops the right click option. I can easily go to view/source.
Does anyone know how to totally stop this option.

Also looking for a way to password protect my sight.
How can I get poeple to login as like with Hotmail (similar appearance).
Only the first page (home page) would be readable, without the password every other page is protected. Once the correct login and password is supplied all pages would be able to be accessed. This would be for multiple users and as they register
they would be issued with a password/login.

If anyone knows anything about either please let me know.

Thanks a bunch.

S.

epolady
01-23-2003, 11:24 PM
There is no way to disable the Edit>View Source.

As for your second question.... I'm sure it's possible using php/cgi or the like. I'm just not sure how to.

lilchici13
01-23-2003, 11:25 PM
i know bravenet has some stuff for that but don't sign up cauz it doesn't work either does other things i think hosting services would let you password protect

Alcy
01-24-2003, 12:58 AM
I haven't tried it, but hosted scripts (http://www.hostedscripts.com/passwordprotection.html) has a password protect....

buster_uk
01-24-2003, 08:43 PM
Hi, youre password protection question intrigues me.

I have used a system called .htaccess on my site and it works brilliantly. The source code is not held in the file, it is held on a seperate file on the server that protects the folder and its contents from being opened without the password being entered.

I am under the assumption that not all hosts allow you to use it and that you need ftp access because a lot of the hosts without ftp access dont allow you to use it.

Here is a link to the webmonkey site with the appropriate info on the topic.

http://hotwired.lycos.com/webmonkey/html/97/08/index2a.html?tw=backend

hope i helped.
Jimmy.