Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    FL
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Encrypted Passwords and ...

    I am curious. I have seen this done before but here comes the questions part...

    I have two input boxes. I have them set next to eachother on the same line. I would like to know if that, when a user enters a desired password into the left box, that what they type can be encrypted and placed into the password box on the right

    EXP

    pass encrypted pass
    | richard | | ************** |

    If what I am asking is too complicated for me to understand..

    pass button encrypted pass
    | richard | | Encrypte? | | ************** |

    richard is the pass that the user entered..
    button properties would look like ..

    <input type=button value=Encrypte? onClick=enpass()>

    If anybody could create a function called enpass that would encrpte letters for random settings.. I would also like to know if that for the encryption, each letter that is entered could be set to only be 2 encrypted variables long..

    ie text = richard encrypted = **************

    I hope somebody understands what I am getting at..


    Richard
    Younger is better, I think. Sometimes.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.dynamicdrive.com/dynamicindex9/password.htm

    Any help?

  • #3
    New Coder
    Join Date
    Jun 2002
    Location
    FL
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer Continue

    Originally posted by x_goose_x
    Any help?
    Actually, yes. I would the script to encrypt the password only, and send the user (on submit of the correct password) to a page other than the page (password).htm, .html

    You understand?


    1 Multiple usernames and passwords
    2 Encrypted Passwords only

    3 OnSubmit of correct username's password page loads at my I specify, and not the password . htm, or html

    Any othersites would be appreciated
    Younger is better, I think. Sometimes.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Do you want the page filename encrypted at all? or have it in plain text in the html document. Take note that this "Encryption" is not really encryption, just getting the code for each character. In other words anyone who knows the slightest javascript can decode it. Want it anyways? If you want something that's actually secure you'll need server-side.

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    41 8' 52" N -95 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What goose said is true... this is insanely easy using server-side scripting, and very likely impossible to truly do "secure" using javascript.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #6
    New Coder
    Join Date
    Jun 2002
    Location
    FL
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer Thank You

    I understand what you are saying but what I am using the password stuff is for a website that I am signed up with, and I am in a guild of the sort, and I wanted to make a website to help the guild's members, but not anybody who knows the page name..

    let's say that the login name was member and the password was the page name, then all the user had to do was know the page name and he could get to that page, and then the password page would be useless..

    for the people that were to use this scripting that I am asking for, the people do not know JS because the site that we are all signed up with will not allow us to use it on their sites..

    anyways.. I know that it is basically impossible for me to use JS and have real security, but I do not want that, I would like a script that has a username ,and password (of course) that only I could specify, and that the password is not the page name..

    JS wizzes would have no need to want to see the page unless they were just interested in knowing if they could get throught the password scripting, which I beleive is unethical..

    but, thanks for all of your help.. If any of you spark up some ideas, don't hesitate to reply..

    Thanks again




    Richard
    Younger is better, I think. Sometimes.

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's something I was messing around with a while ago, give it a try. You might like it.
    Attached Files Attached Files

  • #8
    Regular Coder
    Join Date
    Aug 2002
    Location
    New York
    Posts
    152
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Question

    i was just browsing the threads with the search feature here for a script i need, and i stumbled upon this thread. and this post sparked my attention

    Originally posted by whammy
    What goose said is true... this is insanely easy using server-side scripting, and very likely impossible to truly do "secure" using javascript.
    i'm in the process of making a password gate, and it's so easy to find out the passwords and the destination pages, by simply doing right-click and then clicking "View Source". and there my script is... passwords and all. so i can relate to this "secure" JS stuff...

    but what i really am posting about is doing a server-side password gate. i have absolutely no experience with server-side. and i searched for something like this in the forums, and either laziness kicked in, or i couldnt find it in the first few threads that came up. anyway, if someone could direct me to an appropriate thread, or post something helpful, that'll be nice.

    and, just a little question while we're on the topic of passwords... how do i get *'s to show up whenever someone types in the password field? like the pro's do.


    thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •