• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Access restriction for OWA

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> Access restriction for OWA Page: [1]
Login
Message << Older Topic   Newer Topic >>
Access restriction for OWA - 9.Apr.2009 6:20:47 AM   
Kenji

 

Posts: 13
Joined: 2.Feb.2005
From: U.K
Status: offline
Hi,
I am managing Exchange 2007 server and user can use OWA from out side.
I would like to set up access restriction for OWA but the restriction should be time restriction. For example, user can use OWA from 9am to 6pm..

Is it possible to set up such a restriction?

Thank you.
Post #: 1
RE: Access restriction for OWA - 9.Apr.2009 6:32:23 AM   
Ahmad Ramadan

 

Posts: 457
Joined: 6.Jul.2008
From: Egypt
Status: offline
u can use this OWA rectriction from the users properties and disable it
but i dont know u can set a scheule for it or no, franckly i dont think so


Thanx

_____________________________

Ahmad Ramadan AbaYazeed
Senior Systems Projects Engineer

(in reply to Kenji)
Post #: 2
RE: Access restriction for OWA - 9.Apr.2009 8:32:55 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
You can do it if you have FBA enabled, and if you want the time restriction to affect all your users.  Open the logon.aspx file in Notepad (make a backup first), and just before the line that says

<% if (!ReplaceCurrent) { %>

insert this

<%
int h = DateTime.Now.Hour;
if(h < 9 || h > 18)
{
   Response.Write("Sorry, OWA is only available between 09:00 and 18:00");
  Response.End();
}
%>

Note that the logon.aspx file may be replaced any time you install an update, so you will need to check it regularly.

_____________________________

Lee.
___________________________________

Outlook Web Access for PDA and WAP:
www.leederbyshire.com
___________________________________

(in reply to Kenji)
Post #: 3
RE: Access restriction for OWA - 9.Apr.2009 8:53:32 AM   
Ahmad Ramadan

 

Posts: 457
Joined: 6.Jul.2008
From: Egypt
Status: offline
WooW
so good to know new stuff

Thanx

_____________________________

Ahmad Ramadan AbaYazeed
Senior Systems Projects Engineer

(in reply to leederbyshire)
Post #: 4
RE: Access restriction for OWA - 9.Apr.2009 9:20:02 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
All unsupported by MS, of course :-)

BTW, the condition h > 18 means that OWA will be available until 18:59.  If you want it to stop at 18:00, then condition should be h > 17

(in reply to Ahmad Ramadan)
Post #: 5
RE: Access restriction for OWA - 20.Apr.2009 3:29:58 PM   
Kenji

 

Posts: 13
Joined: 2.Feb.2005
From: U.K
Status: offline
Hi, guys.

Sorry for my late reply. Thank you for your information.
I will try your idea.

(in reply to leederbyshire)
Post #: 6

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> Access restriction for OWA Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter