Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPICan we use the JS MD5/SHA1 encryption algorithm to encrypt clear text password?Can we use the JS MD5/SHA1 encryption algorithm to encrypt clear text password?
Previous
 
Next
New Post
6/4/2008 11:12 AM
 

Hi Iadalang,

Implementing a custom authentication system that is fully secure, in my opinion, is a task of greater difficulty than adding a new DNN authentication mode.  So if you're having great difficulty with the latter, then the former might not be a good idea.  If you decide to press ahead anyway, you'll need to copy the files in the directory I mentioned in my previous post, add the new mode (I believe under Host/Authentication, although I've always just made the entry directly in the database), and modify the files (login.ascx and login.ascx.vb mostly) to deal with the technical requirements (hashing, challenge tokens, etc).  As always, the devil is in the details.

SSL is not mandatory for ANY authentication setup.  It is merely a broadly accepted and robust solution to transport-level secure communications.  Roll-your-own password transmission will always be less than or equally secure to it, and will virtually always be the former.  Lots of very smart people have looked very hard at TLS/SSL, and chances are that it will stand up well to any ad-hoc pasted-script custom scheme.  For example, a challenge-token setup might prevent evesdropping, but does not address server identify verification.  For this, you might implement some form of PKI and a trust authority of some sort.  By the time you've dealt with all of these issues, you will have essentially implemented SSL all over again.

A custom authentication setup is, however, a great way to learn about internet security!

Not all DNN sites authenticate using SSL.  Those that do not are vulnerable to eavesdropping attacks.

Have you considered using the LiveID provider?  Or Active Directory?

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
6/5/2008 4:48 AM
 

Thanks, Brandon. Your response was very enlightening.

>Implementing a custom authentication system that is fully secure, in my opinion, is a task of greater difficulty than adding a new DNN authentication mode.

OK, how about asking the DNN core team to do it? At least it will take care of the "no SSL" scenario to some extent. And I've seen many sites not using SSL but which implement these techniques. From what you're saying it looks like all these sites might be better off with SSL?

>...you'll need to copy the files in the directory I mentioned in my previous post, add the new mode ...I've always just made the entry directly in the database

It looks like you've done this kind of thing before. Can you unleash the devil (aka details)?

>Not all DNN sites authenticate using SSL.  Those that do not are vulnerable to eavesdropping attacks.

So shouldn't there have been a warning somewhere on the DNN site in big bold letters : ALWAYS USE SSL/LIVEId/AD/CARDSPACE WITH DNN IF YOU CARE ABOUT SECURITY?

>Have you considered using the LiveID provider?  Or Active Directory?

Yeah, sure and why not? But first I need your response to this post :

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/89/threadid/232764/scope/posts/Default.aspx

 

 
New Post
6/5/2008 10:05 AM
 

Hi Iadalang,

Although you're free to try and get any new feature implemented into the core, I suspect that it is exceedingly unlikely that such a feature would be incorporated.  To my knowledge, you are the only one who has ever desired such an option.  However, I in no way speak for the core team, do don't let me dissuade you!

Although I have developed custom authentication modules for DNN, I have not attempted to replicate SSL/TLS in the framework.  Those are the details to which I referred -- and the challenge in implementing them rest with you!

It is up to each webmaster to evaluate the risk of an eavesdropping attack against the cost of penetration.  I'd tend to agree with you that DNN should come with a warning against plaintext transmission of passwords.

Based upon your other thread where you indicate that there will only be two accounts on the system (1 admin and 1 host), you will almost certainly want to self-SSL (assuming you're running on your own server).  You could have generated, installed, and added root-trust to the certificate in less time than it took us to have this conversation.  If you do not control your own server, stick with LiveId (or see if your hosting company provides a shared certificate).

Although I have little direct development experience with the LiveId provider, I'll respond to your concerns in that thread.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
6/6/2008 7:30 AM
 

Terrific, Brandon. I owe you more than a beer I wonder if you're part of the security team at DNN. You might have noticed that all my threads in the past few days were concerns about DNN security, and I'm glad your responses have narrowed down many of those concerns. Of course, I'm still not convinced about the "back button" problem which I've raised in the other thread to which you have chimed in too, so please don't mind continuing to repond to that thread, 'cause I wish to "close" that issue too ASAP and get on with life...

From your responses, I believe that this current thread will also be "closed" soon unless someone else chirps in. But before that, just two last questions :

1. You mentioned about SelfSSL available as a feature in the IIS resource toolkit. I'd like to try it out at least on my local webserver, but when I went to the download site, it looks like I'll need at least IIS6. What if I or my host has only IIS5 or IIS5.1? There's a note on the download site - NOTE: Although the IIS 6.0 Resource Kit Tools will install on both Windows Server 2003 and Windows XP Professional, not all the tools will function correctly on Windows XP Professional. Well, I hope at least SelfSSL will function correctly in WinXP (for local testing purposes). What's your opinion?


2. You said that you've developed custom authentication modules for DNN. I don't mean to poke, but may I know  how they function and what issues they address? Are they "for sale" too?

 
New Post
6/6/2008 11:59 AM
 

Hi Iadalang,

I have successfully used SelfSSL (with MS Commerce Server) on an XP dev machine with IIS5.1, so I know it will work there.  No hosting company will be running under XP, and I would be surprised to find one still using w2k (although I'm sure they exist).  Regardless, SelfSSL just generates a certificate, and this certificate should be usable in pretty much any version of IIS.  You'll have to deal with root trust issues on client computers (on a per-computer basis), but since you will only be having two accounts, this may or may not be a problem. 

Many hosting providers offer free shared SSL.  Have you considered this option?  You can read more from Alec here: http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1501/Default.aspx

My custom authentication experience with DNN is mostly related to authentication coordination between DNN and a legacy system not running under .NET forms authentication.  Although I cannot release much in the way of details, if you look through some of my previous posts I do discuss it peripherally in the context of implementing a custom membership provider. 

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPICan we use the JS MD5/SHA1 encryption algorithm to encrypt clear text password?Can we use the JS MD5/SHA1 encryption algorithm to encrypt clear text password?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out