Page view counter

DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

Last post 11-12-2003 3:21 PM by BrettK. 4 replies.

Sort Posts:

  • DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

    10-09-2003, 9:54 AM
    • Loading...
    • timothymo
    • Joined on 07-21-2002, 10:58 PM
    • Asia
    • Posts 64
    • Points 323
    DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

    Features: Will provide MD5 secured login without SSL enabled.

    Download Link: http://www.softtalk.com.sg/md5login.zip

    Why this is needed: Hackers can sniff your connection for outgoing packets. If your password is in clean text, your site can be easily hacked as DNN's admin is purely web based.

    What does this MD5 login do: it basically encrypts your password with a salt generated from server before sending to server for authentication. So even if someone is sniffing your connection, he will get an encrypted string (with salt!). According to today's computing power, it is not possible to decrypt the string.

    Credits: This enhancement uses the Javascript from Paj (http://pajhome.org.uk/crypt/md5/), Sql UDF from Rambo Qian.

    Changes:
    - signin.aspx: add javascript function hashPassword(), add ref to Paj's MD5 javascript.
    - signin.aspx.vb: create salt, pass salt to Security.UserLogin().
    - Security.vb: Change UserLogin function to accept one more optional parameter "Salt"
    - Stored Procedure "UserLogin": change to accept one more parameter "Salt", change the login logic to process clean login and encrypt login.
    - create UDF MD5 in MS SQL database.

    Install:
    - unzip the download file
    - run MD5.udf.sql in QA
    - modify your UserLogin stored procedure with UserLogin.sp.sql
    - modify the 3 files accordingly
    - add md5.js into "/javascript" folder

    Enjoy DNN!

    Regards,
    Timothy MO (mojiazho@{}{NO___SP+++AM}{}yahoo.com)
    ---
    Timothy
  • Re: DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

    10-13-2003, 4:08 AM
    • Loading...
    • Salaro
    • Joined on 09-08-2002, 4:51 AM
    • London
    • Posts 1,289
    • Points 6,445
    Cool stuff Timothy

    You keep coming up with these great ideas.

    Keep them coming

    Salar
    KnapHill, Surrey UK

    Skinning & Building DotNetNuke Applications
    www.salaro.com

  • Re: DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

    10-14-2003, 11:10 AM
    • Loading...
    • weinstein_josh
    • Joined on 01-27-2003, 1:58 PM
    • Toledo, OH
    • Posts 834
    • Points 4,200
    Timothy,
    Great enhancement. I am currently evaluating it to get it into a future version of DNN.




  • Re: DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

    10-14-2003, 11:52 AM
    • Loading...
    • weinstein_josh
    • Joined on 01-27-2003, 1:58 PM
    • Toledo, OH
    • Posts 834
    • Points 4,200
    Timothy,
    This is a great enhancement, but I just realized something - in its current state I am unsure how it would work with 2.0 b/c this Enhancement utilitizes SQL User Defined Functions which don't exist in Access. As you are aware, the DNN 2.0 version will support both Data stores - so we will need to come up with a way to get rid of the SQL UDF's and possibly get that into a code behind or use the built-in ASP.NET MD5 capabilities (if possible).

    Thoughts?
  • Re: DNN 1.0.10c Core Enhancement: implement MD5 secured login without SSL

    11-12-2003, 3:20 PM
    • Loading...
    • BrettK
    • Joined on 07-31-2002, 7:29 AM
    • Posts 36
    • Points 170
    I attempted to download this off the url you specified but it isa not working? Can you conform this and let me know where I could acquire the download?

    Thanks
Page 1 of 1 (5 items)