password Java?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eagle35

    password Java?

    any one now any good java/Html for password pages so i can protect some
    pages??

    Thanks


  • Lasse Reichstein Nielsen

    #2
    Re: password Java?

    "Eagle35" <eagle35@hotmai l.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/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Eagle35

      #3
      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.f sf@hotpop.com.. .[color=blue]
      > "Eagle35" <eagle35@hotmai l.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/rasterTriangleD OM.html>[color=blue]
      > 'Faith without judgement merely degrades the spirit divine.'[/color]


      Comment

      • Hywel Jenkins

        #4
        Re: password Java?

        In article <bnmp50$3h4$1$8 300dec7@news.de mon.co.uk>, eagle35@hotmail .com
        says...[color=blue]
        > "Lasse Reichstein Nielsen" <lrn@hotpop.com > wrote in message
        > news:ekwx59hp.f sf@hotpop.com.. .[color=green]
        > > "Eagle35" <eagle35@hotmai l.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/rasterTriangleD OM.html>[color=green]
        > > 'Faith without judgement merely degrades the spirit divine.'[/color]
        >
        >
        >[/color]

        --
        Hywel I do not eat quiche


        Comment

        • Hywel Jenkins

          #5
          Re: password Java?

          In article <bnmp50$3h4$1$8 300dec7@news.de mon.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.f sf@hotpop.com.. .[color=green]
          > > "Eagle35" <eagle35@hotmai l.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


          Comment

          • Lasse Reichstein Nielsen

            #6
            Re: password Java?

            "Eagle35" <eagle35@hotmai l.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/rasterTriangleD OM.html>
            'Faith without judgement merely degrades the spirit divine.'

            Comment

            • Vicomte De Valmont

              #7
              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@hotmai l.com> ha scritto nel messaggio
              news:bnmdvu$ml5 $1$8302bc10@new s.demon.co.uk.. .[color=blue]
              > any one now any good java/Html for password pages so i can protect some
              > pages??
              >
              > Thanks
              >
              >[/color]


              Comment

              • Martin

                #8
                Re: password Java?

                "Eagle35" <eagle35@hotmai l.com> escreveu na mensagem
                news:bnmdvu$ml5 $1$8302bc10@new s.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.promp t("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



                Comment

                Working...