Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

IP/Role restrictions ...
Last Post 12-07-2012 06:36 AM by Ryan Bakerink. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Stuart StephensUser is Offline
new to the springs
new to the springs
Posts:1
Avatar

--
11-06-2012 12:11 PM
    I am evaluating Dynamic Login and I have a requirement from our IT Director to only allow certain roles (e.g. admin, host, customer service) to login from our internal IP address while other roles (e.g. customers) can only login from an external IP address.

    After looking more closely at Dynamic Login it isn't clear this is "out of the box". I came up with some ideas ...
    1. HTTP Module does the police work on every request. In this approach, it seems the DNN UserInfo object could be accessed and if it exists, roles could be checked against IP rules. In the event a rule is violated, the user could simply be logged out.
    2. Sql Validation does the work only at login. In this approach, a stored proc would be called with @UserID and @IPAddress and the DNN roles would have to be checked manually against the IP rules.
    Is there an easier way to prevent host/admin accounts from accessing a DNN site from an external IP? I wanted to avoid custom development as much as possible on this site and I can't imagine I am the first body to wander into this minefield ...

    It seems like the IP restriction feature could be slightly enhanced to be positive and negative (allow/block) with some role matching thrown in on each rule for great effect.

    Regards,

    Stuart
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    12-07-2012 06:36 AM
    Hello Stuart,

    I believe there are Role Redirection Rules that you can configure.

    You can use this type of logic with the Role Redirection Rules:

    Valid Role:

    If a User Account with Role A is logging in: Then redirect them to a page on your site.

    Invalid Role:

    If a User Account with Role B is logging in: Then redirect them to this page:

    http://www.yoursite.com/admin/secur...ogoff.aspx

    This will automatically log the user out.

    Just an idea, you may want to try it out to see if it works for your use case.

    Thanks,

    Ryan



    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi