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 ForumsAuthenticationAuthenticationExternal PHP site validate username/password againt DNN dbExternal PHP site validate username/password againt DNN db
Previous
 
Next
New Post
12/21/2011 5:42 PM
 

We have a simple sister site to our DNN portal - it is PHP.

From this PHP site, we need to be able to have one of our users enter in their username/password, check the DNN database, and return a true or false that they are a validated member in a particular role.  There isn't a membership provider on the PHP site,,,,,

I have been searching for a simple way to accomplish this, but am having no luck - he just wants to pass in the username/password (and an encryption key if needed),,,,,  I can't find any stored proc in the database that validates users - anyone know where I should look?  or if this is even possible?  I have been scouring around the web searching for anything, but have come up empty for something this simple.

As always,,, thanks.

 
New Post
12/22/2011 12:08 PM
 
There is a ValidatePassword method in the UserController class.

One way to approach this would be to reverse-engineer that method. Now ... how you do that on a PHP site is beyond my experience. But, if you dig through the DotNetNuke source code, you should be able to find what you need.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
12/22/2011 3:05 PM
 
I think you could just write a quick service that calls the validate method. You could even support SSL that way.
 
New Post
12/22/2011 4:23 PM
 
Good idea. And ... use http://iweb.adefwebserver.com/ to simplify adding a web service to your DotNetNuke portal.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationExternal PHP site validate username/password againt DNN dbExternal PHP site validate username/password againt DNN db


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