Skip to main content

Enforce access by time range

Time Profiler enforces time-based internet access using configurable ranges: month, day, weekday, hour, and minute. Create Time Profile entries as combinations of these ranges; SafeSquid allows or blocks categories and websites according to the active profile.

Enable Time Profiler

  1. Access the SafeSquid interface.

  2. Navigate to Configure page.

    Configure page

  3. Click Custom Settings in the sidebar.

    Custom Settings

  4. Select Time Profiler.

    Time Profiler section

Configuration Options

Global Settings

SettingDescription
EnabledTRUE: Enable time profiles. FALSE: Disable time profiles.

Global section

Time Profiles Tab

SafeSquid evaluates entries from top to bottom. All entries within the time range are applicable.

Add new policy

Time profiles tab

Entry Settings

FieldDescription
EnabledTRUE/FALSE - Enable or disable this entry
CommentDocumentation explaining the entry's purpose
Trace EntryTRUE/FALSE - Enable debugging in SafeSquid logs
Time ProfilesList of Time Profiles for applicability. Leave blank to ignore. Use negation (! Weekday) to exclude profiles
Month RangeActive months (default: all months). Example: January to March
Day RangeActive days (default: all days). Example: 5 to 15
Weekday RangeActive weekdays (default: all). Example: Monday to Thursday
Hour RangeActive hours (default: all). Example: 9 to 12 (9 AM to 12 PM)
Minute RangeActive minutes in conjunction with Hour Range. Example: 15 to 30
Time Match ModeABSOLUTETIME or ALLRANGES. See the Time Match Modes section below for details on each mode
Added Time ProfilesProfiles to append when entry matches
Removed Time ProfilesProfiles to remove when entry matches

Time Match Modes

ABSOLUTETIME: Matches any time between starting and ending time only.

  • Example: Weekday Monday-Friday, Hour 9-17
  • Active from Monday 9 AM to Friday 5 PM continuously

ALLRANGES: Matches time within all specified ranges.

  • Example: Weekday Monday-Friday, Hour 10-17
  • Active every day Monday-Friday between 10 AM and 5 PM

Examples

Example 1: Standard Office Hours

Office hours: 10 AM to 9 PM, Monday to Friday.

FieldValue
Hour Range10 to 21
Weekday RangeMonday to Friday
Added Time ProfilesSTANDARD OFFICE HOURS

Office hours rule

Example 2: Lunch Hours

Lunch hours: 2 PM to 2:30 PM, Monday to Friday. Allow Social Media during lunch.

FieldValue
Hour Range14 to 14
Minute Range0 to 30
Weekday RangeMonday to Friday
Added Time ProfilesSTANDARD LUNCH HOURS

Lunch hours rule