DNNCommunity / DNN.ActiveDirectory

Active Directory authentication for DNN
MIT License
26 stars 22 forks source link

Add ability to use IP address mask for auto-login IP range #49

Open sawest opened 6 years ago

sawest commented 6 years ago

Is your feature request related to a problem?

Please describe. Seems like the implementation/logic of autologin IP address range is weak - should be able to define ipnet with mask. Now it just converts your IP to a long and checks if its equal to one of the ipadresses in the list(converted to long) or greater/less than the adresses(converted to long) in the provided range.

Describe the solution you'd like

Should be able to define ipnet with mask.

Describe alternatives you've considered

Additional context