Results 1 to 2 of 2

Thread: Password script

  1. #1
    Join Date
    Nov 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Password script

    Hello...new member here

    I installed Rob Heslop's Password script from DynamicDrive (http://www.dynamicdrive.com/dynamicindex9/password.htm). It is working just fine. I was using htaccess and htpasswrd server side but I wanted to customize the username/password entry as an html form and submit button not a popup window. I have been reading that Heslop's script is not a very secure method. Would love to here some discussion about the vulnerabilities with this method. If this insecurity is merely because someone can see the password in the address bar, I eliminated that by using htaccess on my server to redirect from the page indicated in the script to the page that I want to protect. Any comments?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Javascript is never secure. If you want to use something that's as secure as htaccess but that doesn't create that type of popup, use a secure PHP (or other server side language) login.

    Here's a very secure PHP script:

    http://www.dynamicdrive.com/forums/s...6023#post96023

    Don't be fooled that I'm asking how secure it is - it's completely secure, the thread answers that. I've also used it to good result many times since asking the original question. The only tricky part is that it's only for a single page. But that can be expanded upon.

    REQUIRES PHP
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Replies: 4
    Last Post: 01-24-2011, 11:57 AM
  2. password script help please!!
    By comaiwat in forum JavaScript
    Replies: 5
    Last Post: 02-04-2009, 04:12 AM
  3. change password script
    By nikomou in forum PHP
    Replies: 2
    Last Post: 12-17-2008, 08:42 AM
  4. Encrypted Password script
    By the in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 07-02-2007, 03:48 PM
  5. [DHTML] Password script using Hotkey script.
    By Master_script_maker in forum Submit a DHTML or CSS code
    Replies: 3
    Last Post: 06-27-2007, 09:41 PM

Bookmarks

Posting Permissions

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