How do I use DotNetNuke Membership Authentication from Another Application?
Posted on 2010-09-10
I have a standard DNN installation with NB_Store. I have a separate application that runs in a different virtual directory, but has access to the DNN database. This app currently uses default "AspNetSqlMembershipProvider" authentication. This application uses c# code "Membership.ValidateUser(sUserName,sPassword)" to determine if the user is a member.
I want this application to use the DNN authentication system/database. How do I do this? Is it as simple as modifying the app's web.config file? Do I simply add a <connectionStrings> for the DNN SQL server? How would I modify the "<membership defaultProvider=…" section since I don't see the equivalent in the DNN Web.Config?