Connecting Tech Pros Worldwide Forums | Help | Site Map

password Java?

Eagle35
Guest
 
Posts: n/a
#1: Jul 20 '05
any one now any good java/Html for password pages so i can protect some
pages??

Thanks



Lasse Reichstein Nielsen
Guest
 
Posts: n/a
#2: Jul 20 '05

re: password Java?


"Eagle35" <eagle35@hotmail.com> writes:
[color=blue]
> any one now any good java/Html for password pages so i can protect some
> pages??[/color]

You probably mean "JavaSCRIPT", not "Java". At least, that would put
you in the correct newsgroup.

Any password protection that *works* has to run on the server, not the
client. I would recommend finding out which server-side technologies
you have available and the asking in the appropriate group for that one.

/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Eagle35
Guest
 
Posts: n/a
#3: Jul 20 '05

re: password Java?


yer i no its "JavaScript" just cant be bothered to say it all


"Lasse Reichstein Nielsen" <lrn@hotpop.com> wrote in message
news:ekwx59hp.fsf@hotpop.com...[color=blue]
> "Eagle35" <eagle35@hotmail.com> writes:
>[color=green]
> > any one now any good java/Html for password pages so i can protect some
> > pages??[/color]
>
> You probably mean "JavaSCRIPT", not "Java". At least, that would put
> you in the correct newsgroup.
>
> Any password protection that *works* has to run on the server, not the
> client. I would recommend finding out which server-side technologies
> you have available and the asking in the appropriate group for that one.
>
> /L
> --
> Lasse Reichstein Nielsen - lrn@hotpop.com
> DHTML Death Colors:[/color]
<URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>[color=blue]
> 'Faith without judgement merely degrades the spirit divine.'[/color]


Hywel Jenkins
Guest
 
Posts: n/a
#4: Jul 20 '05

re: password Java?


In article <bnmp50$3h4$1$8300dec7@news.demon.co.uk>, eagle35@hotmail.com
says...[color=blue]
> "Lasse Reichstein Nielsen" <lrn@hotpop.com> wrote in message
> news:ekwx59hp.fsf@hotpop.com...[color=green]
> > "Eagle35" <eagle35@hotmail.com> writes:
> >[color=darkred]
> > > any one now any good java/Html for password pages so i can protect some
> > > pages??[/color]
> >
> > You probably mean "JavaSCRIPT", not "Java". At least, that would put
> > you in the correct newsgroup.
> >
> > Any password protection that *works* has to run on the server, not the
> > client. I would recommend finding out which server-side technologies
> > you have available and the asking in the appropriate group for that one.
> >
> > /L
> > --
> > Lasse Reichstein Nielsen - lrn@hotpop.com
> > DHTML Death Colors:[/color]
> <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>[color=green]
> > 'Faith without judgement merely degrades the spirit divine.'[/color]
>
>
>[/color]

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Hywel Jenkins
Guest
 
Posts: n/a
#5: Jul 20 '05

re: password Java?


In article <bnmp50$3h4$1$8300dec7@news.demon.co.uk>, eagle35@hotmail.com
says...[color=blue]
> yer i no its "JavaScript" just cant be bothered to say it all
>
>
> "Lasse Reichstein Nielsen" <lrn@hotpop.com> wrote in message
> news:ekwx59hp.fsf@hotpop.com...[color=green]
> > "Eagle35" <eagle35@hotmail.com> writes:
> >[color=darkred]
> > > any one now any good java/Html for password pages so i can protect some
> > > pages??[/color]
> >
> > You probably mean "JavaSCRIPT", not "Java". At least, that would put
> > you in the correct newsgroup.
> >
> > Any password protection that *works* has to run on the server, not the
> > client. I would recommend finding out which server-side technologies
> > you have available and the asking in the appropriate group for that one.
> >[/color]
> yer i no its "JavaScript" just cant be bothered to say it all[/color]

Well, you need to learn - Java is not the same is JavaScript, not by a
long shot.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Lasse Reichstein Nielsen
Guest
 
Posts: n/a
#6: Jul 20 '05

re: password Java?


"Eagle35" <eagle35@hotmail.com> writes:
[color=blue]
> yer i no its "JavaScript" just cant be bothered to say it all[/color]

Ignorance is an excuse (not a good one in the long run, but one).
Laziness is not. Being lazy in your writing makes it harder to take
your problem seriously, since obviously you don't even take it
seriously enough to bother with spelling, punctuation, or
distinguishing between Java and Javascript when communicating it
to us.

There are a lot of people who don't know the difference between
Javascript and Java (which are two completely different languages).
If you know, you should not muddy the waters even more by using the
name of the wrong language.

Still, the answer stands: Use server side technologies. That's as much
as I can be bothered to say. :)
/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Vicomte De Valmont
Guest
 
Posts: n/a
#7: Jul 20 '05

re: password Java?


ciao
negative, no password is safe with javascript. yet protection of the pages
by a server side language is so easy a thing after all for most common
purposes (well we're not sepaking of financial transactions I suppose!) that
even a minimal asp or php support would grant you the trick.
But in javascript, no way. All the solutions eventually crush against this:
the javascript protected page can be bookmarked, and then viewed bypassing
the 'password'. You could arguably put all within a frameset, and find a
complex way to redirct always to some page if the password is not protected,
but eventually you come to this: if your password is by javascript, then it
has to be written within some js file, no matter how obfuscated: whoever
sees the js file gets the password.
If you want a mild 'protection' say to avoid kids maybe it works, but if you
truly need to have your page reserved, only server side can do that.

"Eagle35" <eagle35@hotmail.com> ha scritto nel messaggio
news:bnmdvu$ml5$1$8302bc10@news.demon.co.uk...[color=blue]
> any one now any good java/Html for password pages so i can protect some
> pages??
>
> Thanks
>
>[/color]


Martin
Guest
 
Posts: n/a
#8: Jul 20 '05

re: password Java?


"Eagle35" <eagle35@hotmail.com> escreveu na mensagem
news:bnmdvu$ml5$1$8302bc10@news.demon.co.uk...[color=blue]
> any one now any good java/Html for password pages so i can protect some
> pages??
>[/color]

Well, you can hide the password from the source code with this trick :

<script>
pw=window.prompt("Enter Password","");
window.location=pw + ".htm"
</script>

use forms objects instead of window.prompt, with PASSWORD input type. The
password is a link to a server's page



Closed Thread