Subject: IP Restrictions
Prev Next
You are not authorized to post a reply.

AuthorMessages
Keith AndersonUser is Offline
New Poster
New Poster
Posts:2

02/02/2010 3:18 PM  

New to DNN.

I have internal users that refuse to authenticate into my DNN website. Because of this, I have had to create two portal sites: DNN and DNNPublic. Now I have to add in some code such that if the incoming IP <> 155.144 then redirect to DNNPublic else redirect to DNN.

Is there functionality within the interface to handle something like this? If so, how?

Else, what code and where would I place this it to make something like that work?

Alternative Ideas?

Thank you!

 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

02/02/2010 3:50 PM  
You could use a request filter on the DNNPublic site to do the redirect, but that adds overhead on every request.

You could also create a standard ASP.NET landing page, then when users get to it, direct them to the proper place.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Keith AndersonUser is Offline
New Poster
New Poster
Posts:2

02/04/2010 8:56 AM  

Thank you Mitch!

I used a splash page.

Keith

You are not authorized to post a reply.



ActiveForums 3.7