I have a one box deployment of Exchange 2007 at a site. Management wants to only allow specific users access to OWA from the outside, and all users access from the internal network.
An older firewall that does not understand AD or LDAP is used.
They do not want to implement ISA or Forefront TMG. Is there a way to make this work in Exchange 2007?
Sorry, I was away for a while, but it sounds like you got it sorted.
With more testing, I did across some weirdness. The usernames would not evaluate. To get it to work I had to change the bit where you had
(strUser == "USER1")
with
(strUser.CompareTo("USER1")
I am not sure why. Some locale issue perhaps? In any case, it is working now. I am posting this so that anyone who comes across this issue might be helped.
< Message edited by peakbagger -- 16.Aug.2011 3:54:01 PM >
If you have found something that works better, then I will change my code. I live in the UK, so I don't always catch problems with extended characters etc., and it's good to have this kind of feedback.