Developer forum

Forum » Development » Ip-filtrering

Reply
Vi benytter ip-filtrering på vores extranet. I den forbindelse kunne vi godt tænke os at når man kom fra en given ip-adresse, så blev man automatisk tildelt en given extranetbruger så man slap for login billedet. Er det muligt?

Replies

 
Reply
Thanks for the suggestion. We will suggest this to our list of features for the next vesion of the User Management module.

Please post you messages in English. Thanks.
 
Reply
In the meantime you could create a custom module that attempts to validate the user by the client IP. The module should be attached to a paragraph on the front page, and the front page should not be protected.

Register the IP on e.g. AccessUserCustomerNumber, when the user tries to access the frontpage, your module performs a lookup in AccessUser table trying to locate the record containing the current IP. If the IP exists, do something like this

Dim Sec As Dynamicweb.Security
Sec.ExtranetLogin(DR.Item("AccessUserUserName").ToString(), DR.Item("AccessUserPassword").ToString())

By using this function you perform the same actions as Dynamicweb when validating users which ensures that all sessions are set correctly.

Afterwards you redirect the user to the frontpage of the protected area. If the user is not recognized by IP, the Extranet login form specified by you will be displayed.

Hope this was usefull.
 
Reply
hc@ebh-horsens.dk wrote:
Vi benytter ip-filtrering på vores extranet. I den forbindelse kunne vi godt tænke os at når man kom fra en given ip-adresse, så blev man automatisk tildelt en given extranetbruger så man slap for login billedet. Er det muligt?


We are using IP filter on our extranet. In connection with that we would like to see, when arriving from an ip address, that it was possible to automatically be assigned to an extranet user account so you avoid login... Is that possible?

 

You must be logged in to post in the forum