cancel
Showing results for 
Search instead for 
Did you mean: 
dbottino
Level 9

regulate internet access by scheduled time

Jump to solution

Hi All,

is it possible, on MWG, to define a rule-set or something to regulate internet access by scheduled time?

Example: Internet Access Allowed from 08.00 AM to 10.00 AM.

thanks a lot

Daniele

0 Kudos
1 Solution

Accepted Solutions
philiprey
Level 10

Re: regulate internet access by scheduled time

Jump to solution

Hi Daniele,

Yes, this is indeed possible.

You could use the property "DateTime.Time.Hour" and set the value that you want to include from 0-23 on a 24-hr basis.

Regards,

Philip

0 Kudos
8 Replies
asabban
Level 17

Re: regulate internet access by scheduled time

Jump to solution

Hello,

yes. There are properties for Time and Date decisions. You can create a rule that only matches from 8 to 10. Depending on the action of the rule you can allow/deny traffic.

Best,

Andre

0 Kudos
philiprey
Level 10

Re: regulate internet access by scheduled time

Jump to solution

Hi Daniele,

Yes, this is indeed possible.

You could use the property "DateTime.Time.Hour" and set the value that you want to include from 0-23 on a 24-hr basis.

Regards,

Philip

0 Kudos
dbottino
Level 9

Re: regulate internet access by scheduled time

Jump to solution

Hi all,

thanks for the answer...

I'll could use Date.Time.Hours is in list "hours"

where  "hours" is a list of hours.

Applies to: Request, Response and embedded object

Criteria Always

Action Block<Block_Internet_Page>

I'll could use this rulset above, in head of all rule.

right?

thanks a lot

0 Kudos
philiprey
Level 10

Re: regulate internet access by scheduled time

Jump to solution

Sounds perfect for a controlled web access for your users...

0 Kudos
dbottino
Level 9

Re: regulate internet access by scheduled time

Jump to solution

Hi all,
I've configured the rule "Date.Time.Hour" and working correctly...
but my customer would like to have a more granular control.
the desire is: from 13:15 to 14.45
How can I configure the ruleset to accomplish what customer want? is there a  way to configure a time range instead a list of hours?

thanks a lot

cheers!

Daniele

0 Kudos
philiprey
Level 10

Re: regulate internet access by scheduled time

Jump to solution

Hi Daniele,

Sure does your customer give you a hard time

I dont think there's a property which can create a range.

.

But you could configure this by mixing properties of date.time.hour and date.time.minute.

You could use the following rule for this,

"(Date.time.hour = 13 AND Date.time.minute equals or greater than 15)

OR

(Date.time.hour = 14 AND Date.Time.Minute equals or less than 45)"

Regards,

Philip

0 Kudos
dbottino
Level 9

Re: regulate internet access by scheduled time

Jump to solution

Thanks Philip!
I've just tried this:

a  DateTime.Time.Hour equals 17
b AND DateTime.Time.Minute greater than or equals 25
c AND DateTime.Time.Hour equals 17
d AND DateTime.Time.Minute less than or equals 30
e AND URL.Host matches in list WhiteList

and seems all is working good

thanks again!

Daniele

0 Kudos
asabban
Level 17

Re: regulate internet access by scheduled time

Jump to solution

Hello,

in 7.4 you can also use DateTime.Time.IsInRange! You configure it like:

DateTime.Time.IsInRange(08:30:00-12:30:00, 13:30:00-17:00:00) Then Block

Probably simpler than the solution before.

Best,

Andre

Nachricht geändert durch asabban on 28.07.14 14:19:29 MESZ
0 Kudos