- Password protected web pages - creating ?
- Posted by John Fitzsimons on November 15th, 2003
I don't know whether such a freeware program even exists BUT I thought
I might ask here anyway.
Is there a program that actually makes this sort of thing easy ? I
know there are hundreds of HTML creating programs BUT it is *this
specific feature* I want. TIA.
Regards, John.
- Posted by dszady on November 15th, 2003
Trying to get a word in edge-wise "John Fitzsimons" wrote in
<lt6drv4qqsf5origal0fqm7aa89mmbnlj7@4ax.com>:
http://javascript.internet.com/passw...ree-tries.html
--
°¿°
Take my freedom from me to reply
- Posted by Ray on November 15th, 2003
dszady <Freedaszady@adelphia.netdom> wrote in
news:mesnews.7c3b7d3b.57f6dd22.96.3401@adelphia.ne tdom:
But this is so easily defeated by using "View Source" is it really any
protection? <G>
- Posted by dszady on November 15th, 2003
Trying to get a word in edge-wise "Ray" wrote in
<Xns9434B968E8C32Ray200rayxnews@64.214.31.41>:
I haven't tried it. Is it that bad? There was another script file that
denied access to any page, but I can't remember the name right now -
and it's on my computer.
Got it from the same place
http://javascript.internet.com/. You would think there would be a CSS
page to do this.
--
°¿°
Take my freedom from me to reply
- Posted by Ray on November 16th, 2003
dszady <Freedaszady@adelphia.netdom> wrote in
news:mesnews.7c927d3b.7c621504.97.3401@adelphia.ne tdom:
I'm no expert on this but if you mean a JavaScript to prevent viewing
source it is my understanding that those type of scripts can be defeated
by turning off JavaScript. (The experts I'm sure will be along if I'm
wrong.)
Of course these scripts would stop anyone who doesn't know basic HTML but
I'm guessing those aren't the ones you would want/need to stop with a
password.
A CGI script might be better for this. The original poster might want to
look for a Webhost that includes a way to password protect a site or run
an advanced Google search using CGI and Password. (No, I don't know CGI
but do have some idea of what you can do with it.)
Sorry if Im off topic for group.
- Posted by TranZ on November 16th, 2003
Try
Guardian...
This is a very simple password script that is impossible to crack.
Using simple technology the password is never once written in the source
code.
This script makes it possible to password protect any page on your site.
http://www.fortunecity.com/lavendar/...ardian_v1.html
--
TranZ
----------------------------------
"Ray" <4DSpambot@spamvill.org> wrote in message
news:Xns9434D65A6FD47Ray200rayxnews@64.214.31.41.. .
| dszady <Freedaszady@adelphia.netdom> wrote in
| news:mesnews.7c927d3b.7c621504.97.3401@adelphia.ne tdom:
|
| > Trying to get a word in edge-wise "Ray" wrote in
| > <Xns9434B968E8C32Ray200rayxnews@64.214.31.41>:
| >> dszady <Freedaszady@adelphia.netdom> wrote in
| >> news:mesnews.7c3b7d3b.57f6dd22.96.3401@adelphia.ne tdom:
| >>
| [snip]
| >>>> Is there a program that actually makes this sort of thing easy ? I
| >>>> know there are hundreds of HTML creating programs BUT it is *this
| >>>> specific feature* I want. TIA.
| >>>>
| >>>> Regards, John.
| >>>
| >>> http://javascript.internet.com/passw...ree-tries.html
| >>>
| >>
| >> But this is so easily defeated by using "View Source" is it really any
| >> protection? <G>
| >
| > I haven't tried it. Is it that bad? There was another script file that
| > denied access to any page, but I can't remember the name right now -
| > and it's on my computer.
Got it from the same place
| > http://javascript.internet.com/. You would think there would be a CSS
| > page to do this.
| >
|
| I'm no expert on this but if you mean a JavaScript to prevent viewing
| source it is my understanding that those type of scripts can be defeated
| by turning off JavaScript. (The experts I'm sure will be along if I'm
| wrong.)
|
| Of course these scripts would stop anyone who doesn't know basic HTML but
| I'm guessing those aren't the ones you would want/need to stop with a
| password.
|
| A CGI script might be better for this. The original poster might want to
| look for a Webhost that includes a way to password protect a site or run
| an advanced Google search using CGI and Password. (No, I don't know CGI
| but do have some idea of what you can do with it.)
|
|
| Sorry if Im off topic for group.
- Posted by Runt on November 16th, 2003
"John Fitzsimons" <qdddy5q02@sneakemail.com> wrote in message
news:lt6drv4qqsf5origal0fqm7aa89mmbnlj7@4ax.com...
I find this little bit of code does the trick OK,
and the actual password is just the folder name where the page you want is
called index.htm .
*Just change `yoursiteURLhere` to the URL of yours.
Just enter the name of the folder into form and away you go. *
----------------------------------------------------------------------------
----------
<form
ONSUBMIT="window.location.href='http://www.yoursiteURLhere.co.uk/' +
this.elements[0].value + '/index.htm'; return false">
<br><input TYPE="password" SIZE="20"><input TYPE="submit"
VALUE="Log-in"></form>
----------------------------------------------------------------------------
-
Ashley
- Posted by DMcC on November 16th, 2003
Ummm....try right click -----pulldownmenu
view source-
you see the entire scripting there
so not impossible
nice though for my INTRANET customers...I'll use it
"TranZ" <signofthetimes@allegra.org> wrote in message
news:fFDtb.12894$aT.1230@news-server.bigpond.net.au...
- Posted by Jim Daniel on November 16th, 2003
Ray wrote:
Here's one that I use and it is pretty effective. You simply need to
specify a number for pw and pw2 and then calculate the value for pw3
(it's 159 for the example below because that'w what you get if pw is 4
and pw2 is 53) by the equation given in the script. I suppose you could
eventually guess the password numbers but it would take a long time.
Pretty clever.
Jim Daniel
<SCRIPT LANGUAGE="JavaScript">
<!--
// Password Access Script (Version 1.2) (c) Brian Miller, 1997.
// Tech Support: paulm7@idt.net
// Released: June 21, 1997
// |¯¯) |¯¯) | |¯¯¯| |\ | |\ /| | | | |¯¯ |¯¯)
// |-- |-- | |---| | \ | | \/ | | | | |-- |--
// |__) | \ | | | | \| | | | |__ |__ |__ | \
// Use this script freely... AS LONG AS THIS HEADER IS INCLUDED.
var pw=prompt("Enter Password Part I","");
var pw2=prompt("Enter Password Part II","");
var pw3= (pw2*pw)+(pw-pw2)-pw
if (pw3 == 159)
parent.location.href = "grades.htm"
else
alert("ACCESS DENIED Reload and Try Again.");
// ******************** VERSION 1.0 NOTES ********************
// * 1.) The password can be any amount of numbers *
// * 2.) Letters CANNOT be used in this version. *
// * You can contact me at paulm7@idt.net to see if a *
// * new version is ready. *
// * 3.) At this time, you can only use one password but *
// * I am working on allowing multiple passwords. *
// * 4.) You can change what it says on the alert without *
// * affecting the script. *
// * 5.) You can change where the script goes when it *
// * receives the correct password by changing this: *
// * parent.location.href = "NEW LOCATION" *
// * 6.) Please report any bugs to paulm7@idt.net *
// ************************************************** *********
//--->
</SCRIPT>
- Posted by Jim Daniel on November 16th, 2003
Jim Daniel wrote:
Sorry. Forgot to mention that you put the name of your target web page
(the one you are protecting) in the place of what I have as "grades.htm"
in the script above.
Jim D.
- Posted by Ray on November 16th, 2003
"DMcC" <dennismc@adelphia.net> wrote in
news:RbKtb.2275$m84.1436071@news1.news.adelphia.ne t:
On the second script posted
(http://www.fortunecity.com/lavendar/...ardian_v1.html) you don't
see the complete URL when you view source because the password forms one
portion of the URL. The script combines the password that is entered with
the part of the URL that is in the script to form the complete URL. An
incorrect password produces an invalid URL.
- Posted by John Fitzsimons on November 16th, 2003
On Sat, 15 Nov 2003 23:02:52 GMT, dszady <Freedaszady@adelphia.netdom>
wrote:
Thanks. Looks like a handy link. :-)
Regards, John.
- Posted by John Fitzsimons on November 16th, 2003
On Sun, 16 Nov 2003 05:10:35 GMT, "TranZ" <signofthetimes@allegra.org>
wrote:
Looks worthwhile too. Thanks for your, and Ray's, comments on the
above. :-)
Thanks to Jim as well. I will need to think a bit about that script.
Regards, John.
- Posted by troppo19@nospam.hotmail.com on November 17th, 2003
In article <fFDtb.12894$aT.1230@news-server.bigpond.net.au>, "TranZ" <signofthetimes@allegra.org> wrote:
etc.
What would be useful is a freeware version of a program like SecureHTML which
encrypts the page using javascript: correct password decrypts the page for
that instance, incorrect password produces garbage.
- Posted by kreatikl on November 17th, 2003
fiddle with this in a htm file:
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>(Type a title for your page here)</title>
<meta name="GENERATOR" content="Arachnophilia 4.0">
<meta name="FORMATTER" content="Arachnophilia 4.0">
</head>
<script language='JavaScript'>
function pass()
{
var passr=prompt('pasword please','textbox message');
if(passr=="pasword")
{
location.href='www.provider.com.au/~logonname/folder';
}
if(passr!="pasword")
{
alert('error message');
}
}
</script>
<body bgcolor="#008040" text="#ffffff" link="#0000ff" vlink="#80ff00"
alink="#ff0000">
onLoad='pass()'
</body>
</html>
"John Fitzsimons" <qdddy5q02@sneakemail.com> wrote in message
news:lt6drv4qqsf5origal0fqm7aa89mmbnlj7@4ax.com...
- Posted by Its Me on November 18th, 2003
Are you hosted on a Unix/Linux based OS for your server?
I am usually dissapointed with the Java/HTML code Passwored protection..
I just use .htaccess file in the folder you are protecting.. It is IMHO the
best password protection for webpage Password Protecting. Depending on the
hosting Company, and their on-line control panel it amy be easy to install..