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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I wanI wan't to customize user verification
Previous
 
Next
New Post
10/21/2011 7:53 AM
 
I have a custom registration module for users. When user registers they receive verification email sent by dotnetnuke. When user click on link in browser it opens page with username/password/verificationCode fields, when I click login user is verified it works like a charm.
Problem here is I want to create my custom module that should contain username/password/verificationCode and do verification on button click.

1) I can't find in dnn administration where to set URL to some page where I can add my custom module?
2) Does dnn contain some methods which I can call to pass username/pass/verificationCode to verify user?

Thanks
 
New Post
10/21/2011 9:33 AM
 
Check out: DotNetNuke.Entities.Users.UserController.ValidateUser

Just an FYI - what you are planning represents an exploitable security vulnerability in your module:
1. Plain text username, password and verification code
2. username, password, verification code in url parameters
3. exposure of the validation process through a url.

Given that the goal of the verification process is to validate the email address (and thereby the "validity" that the member is a real person with an actual email address) you may consider an alternative.

Personally I think the current portalid-userid verificaiton code represents an "Spoof-able" vulnerability.

Ideally generating something random like a GUID that has a short expiry and then connecting the email to the code would prevent sending plain text information over the wire and limit the lifecycle of the verification process.

Just my 2 cents - not that you asked ;) it's just that I'm in the middle of writing a number of custom reg/login/password recovery modules right now to reduce/remove vulnerabilities.


Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
10/24/2011 3:03 AM
 
Thanks for valuable information.
I make something that works but one thing I ma still missing.
Is it even possible in dnn to edit URL that is sent to user in verification mail?
I want to make some custom URL values but cant find how to edit it, not in Admin not in Host settings?
 
New Post
10/24/2011 9:25 AM
 
I think the email sent it editable using the languages editor (resource files). You could also write your own verification email and send it from your module.


Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I wanI wan't to customize user verification


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