As I'm not getting much luck with a previous question (see below), I just wondered if there was a way I could achieve this with razor instead of the web.config?
I wasn't sure where to post this question so I settled on Extending Umbraco (Admins - feel free to move if more appropriate somewhere else).
I've created a small site that is just for internal use only. Everyone at my place of work gets to the internet via the same IP, so I would like to lock the site to that IP. This works fine via IIS, but I couldn't get it to work by adding a to the umbraco web.config.
What I would like to do in addition to this, is if a user wants to access the site from home, they can get in by authenticating against our AD.
I have used both the and AD connectionstrings seperately for small development projects before in the past with success, but can't seem to find any way to combine the two.
Any help would be much appeciated!
So to recap, I'm looking to do the following:
If a user has the IP x.x.x.x, let them straight in with no
authentication
If a user has a different IP, prompt for login and
authenticate against AD
No luck
As I'm not getting much luck with a previous question (see below), I just wondered if there was a way I could achieve this with razor instead of the web.config?
https://our.umbraco.org/forum/developers/extending-umbraco/71073-modifying-my-webconfig
Hey,
I wasn't sure where to post this question so I settled on Extending Umbraco (Admins - feel free to move if more appropriate somewhere else).
I've created a small site that is just for internal use only. Everyone at my place of work gets to the internet via the same IP, so I would like to lock the site to that IP. This works fine via IIS, but I couldn't get it to work by adding a to the umbraco web.config.
What I would like to do in addition to this, is if a user wants to access the site from home, they can get in by authenticating against our AD.
I have used both the and AD connectionstrings seperately for small development projects before in the past with success, but can't seem to find any way to combine the two.
Any help would be much appeciated!
So to recap, I'm looking to do the following:
Thanks,
Tom
is working on a reply...