DNN Authentication

Last post 12-01-2005 12:27 PM by RLyda. 4 replies.

Sort Posts:

  • DNN Authentication

    12-01-2005, 10:34 AM
    • Member
      45 point Member
    • joewells
    • Member since 11-11-2005, 11:28 AM
    • Posts 11
    I have various sites in old asp that limit access to various parts of the sites based upon authentication. This authentication is done firstly via the incoming http request ip address. if it is within a speicifed range (held in a database) then authentication is automatic if the ip address is not in the database then a user has to input a username and password to authenticate themselves. I was wondering about the possibility of developing this kind of security model for DNN so i can build alternative sites using the CMS. I know its not the most ideal way to authenticate but I have no choice over the matter. I could do it at the IIS level but it is easy to manage it in the database.

    I'm not to sure where to begin with it. What are the current classes used in DNN. I have been looking for the portal security class but can't find it.
  • Re: DNN Authentication

    12-01-2005, 12:10 PM
    • Star
      8,520 point Star
    • christoc
    • Member since 01-03-2003, 7:49 AM
    • St. Louis, Missouri
    • Posts 1,560
    You'd want to setup a membership provider project, duplicate the existing project and start modifying that project to fit your specific needs. Then make the appropriate web.config changes to hook into your new membership provider.

    That's the approach I would take. Though, I haven't worked with the membership project at all to be able to tell you where to begin inside that project.
  • Re: DNN Authentication

    12-01-2005, 12:19 PM
    • Contributor
      5,220 point Contributor
    • Imsoccrman
    • Member since 03-12-2003, 1:06 PM
    • Tulsa Oklahoma
    • Posts 1,044
    You could also set up an http handler that would detect if the IP address is int he range and authenticated the user using the existing membership provider. this would be a smaller change I would think.
    Steve Walker
    Senior Consultant
    SharePoint Forums
    SharePoint Architecture
  • Re: DNN Authentication

    12-01-2005, 12:20 PM
    • Star
      8,520 point Star
    • christoc
    • Member since 01-03-2003, 7:49 AM
    • St. Louis, Missouri
    • Posts 1,560
    Good idea there Ims, that would probably be a bit easier.
  • Re: DNN Authentication

    12-01-2005, 12:27 PM
    • Contributor
      5,265 point Contributor
    • RLyda
    • Member since 03-30-2004, 2:21 PM
    • Charleston, SC
    • Posts 1,053
    You could also simply implement pieces of the Login module and your IP logic in a SkinObject....if not authenticated, check IP & allow or redirect to a page with the standard Login module...
Page 1 of 1 (5 items)