Fortinet black logo

Handbook

Example

6.0.0
Copy Link
Copy Doc ID 4afb0436-a998-11e9-81a4-00505692583a:693658
Download PDF

Example

Web filtering is particularly important for protecting school-aged children. There are legal issues associated with improper web filtering as well as a moral responsibility to keep children from viewing inappropriate material. The key is to design a web filtering system in such a way that students and staff do not fall under the same web filter profile in the FortiGate configuration. This is important because the staff may need to access websites that are off limits to the students.

School district

The background for this scenario is a school district with more than 2,300 students and 500 faculty and staff in a preschool, three elementary schools, a middle school, a high school, and a continuing education center. Each elementary school has a computer lab and the high school has three computer labs with connections to the Internet. Such easy access to the Internet ensures that every student touches a computer every day.

With such a diverse group of Internet users, it was not possible for the school district to set different Internet access levels. This meant that faculty and staff were unable to view websites that the school district had blocked. Another issue was the students’ use of proxy sites to circumvent the previous web filtering system. A proxy server acts as a go-between for users seeking to view web pages from another server. If the proxy server has not been blocked by the school district, the students can access the blocked website.

When determining what websites are appropriate for each school, the district examined a number of factors, such as community standards and different needs of each school based on the age of the students.

The district decided to configure the FortiGate web filtering options to block content of an inappropriate nature and to allow each individual school to modify the options to suit the age of the students. This way, each individual school was able to add or remove blocked sites almost immediately and have greater control over their students’ Internet usage.

In this simplified example of the scenario, the district wants to block any websites with the word example on them, as well as the website www.example.com. The first task is to create web content filter lists for the students and the teachers.

note icon

Web Filter in flow mode does not support Safe Search. The examples below use Web Filter in proxy mode.

Create a Web Filter profile for the students

  1. Go to Security Profiles > Web Filter.
  2. Select the Create New icon.
  3. Enter the name “Students” in the name field.
  4. Enable FortiGuard Categories.
  5. Set the following categories to Block:
    • Potentially Liable
    • Adult/Mature Content
    • Security Risk
    URL Content
  6. Go to Search Engines and expand the section if necessary. Enable Enforce 'Safe Search' on Google, Yahoo!, Bing, Yandex
  7. In the Static URL Filter section, enable URL Filter.
  8. Select Create New.
    1. In the URL field, enter *example*.*
    2. For the Type field, select Wildcard.
    3. For the Action field, select Block.
    4. For the Status field, check enable.
    5. Select OK.
    Web Content Filter
  9. In the Static URL Filter section, enable Web Content Filter.
  10. In the Web Content Filter widget, select Create New.
    1. For the Pattern Type field, select Reg. Expression.
    2. In the Pattern field, enter “example”.
    3. For the Language field, choose Western.
    4. For the Action field, select “Block”.
    5. For the Status field, check Enable.
    6. Select OK.
  11. EnableRate URLs by Domain and IP Address
  12. Disable Allow websites when a rating error occurs .
  13. Check Rate Images by URL (Blocked images will be replaced with blanks).
  14. Select Apply.

Create a Web Filter for the teachers

It might be more efficient if the Teacher Web Content List included the same blocked content as the student list. From time to time a teacher might have to view a blocked page. It would then be a matter of changing the Action from Block to Allow as the situation required. The following filter is how it could be set up for the teachers to allow them to see the “example” content if needed while keeping the blocking inappropriate material condition.

  1. Go to Security Profiles > Web Filter.
  2. Select the Create New icon.
  3. Enter the name “Teachers” in the name field.
  4. Enable FortiGuard Categories.
  5. Set the following categories to Block:
    1. Potentially Liable
    2. Adult/Mature Content
    3. Security Risk
    URL Content
  6. Go to Search Engines and expand the section if necessary. Enable Search Engine Safe Search on Google, Yahoo!, Bing, Yandex.
  7. In the Static URL Filter section, check Enable URL Filter.
  8. Select Create New.
    1. In the URL field, enter *example*.*
    2. For the Type field, select Wildcard.
    3. For the Action field, select Block.
    4. For the Status field, check enable.
    5. Select OK.
    Web Content Filter
  9. In the Static URL Filter section, check Enable Web Content Filter.
  10. In the Web Content Filter widget, select Create New.
    1. Enter the name “Teachers” in the name field.
    2. For the Pattern Type field, select Reg. Expression
    3. In the Pattern field, enter “example”.
    4. For the Language field, choose Western.
    5. For the Action field, select Exempt.
    6. For the Status field, check Enable.
    7. Select OK.
  11. Check Rate URLs by Domain and IP Address.
  12. Check Rate Images by URL (Blocked images will be replaced with blanks).
  13. Select OK.
To create a security policy for the students
  1. Go to Policy & Objects > IPv4 Policy.
  2. Select the policy being used to manage student traffic.
  3. Enable Web Filter.
  4. Select Students from the web filter drop-down list.
  5. Select OK.
To create a security policy for Teachers
  1. Go to Policy & Objects > IPv4 Policy.
  2. Select the policy being used to manage teacher traffic.
  3. Enable Web Filter.
  4. Select Teachers from the web filter drop-down list.
  5. Select OK.
  6. Make sure that the student policy is in the sequence before the teachers’ policy.

Example

Web filtering is particularly important for protecting school-aged children. There are legal issues associated with improper web filtering as well as a moral responsibility to keep children from viewing inappropriate material. The key is to design a web filtering system in such a way that students and staff do not fall under the same web filter profile in the FortiGate configuration. This is important because the staff may need to access websites that are off limits to the students.

School district

The background for this scenario is a school district with more than 2,300 students and 500 faculty and staff in a preschool, three elementary schools, a middle school, a high school, and a continuing education center. Each elementary school has a computer lab and the high school has three computer labs with connections to the Internet. Such easy access to the Internet ensures that every student touches a computer every day.

With such a diverse group of Internet users, it was not possible for the school district to set different Internet access levels. This meant that faculty and staff were unable to view websites that the school district had blocked. Another issue was the students’ use of proxy sites to circumvent the previous web filtering system. A proxy server acts as a go-between for users seeking to view web pages from another server. If the proxy server has not been blocked by the school district, the students can access the blocked website.

When determining what websites are appropriate for each school, the district examined a number of factors, such as community standards and different needs of each school based on the age of the students.

The district decided to configure the FortiGate web filtering options to block content of an inappropriate nature and to allow each individual school to modify the options to suit the age of the students. This way, each individual school was able to add or remove blocked sites almost immediately and have greater control over their students’ Internet usage.

In this simplified example of the scenario, the district wants to block any websites with the word example on them, as well as the website www.example.com. The first task is to create web content filter lists for the students and the teachers.

note icon

Web Filter in flow mode does not support Safe Search. The examples below use Web Filter in proxy mode.

Create a Web Filter profile for the students

  1. Go to Security Profiles > Web Filter.
  2. Select the Create New icon.
  3. Enter the name “Students” in the name field.
  4. Enable FortiGuard Categories.
  5. Set the following categories to Block:
    • Potentially Liable
    • Adult/Mature Content
    • Security Risk
    URL Content
  6. Go to Search Engines and expand the section if necessary. Enable Enforce 'Safe Search' on Google, Yahoo!, Bing, Yandex
  7. In the Static URL Filter section, enable URL Filter.
  8. Select Create New.
    1. In the URL field, enter *example*.*
    2. For the Type field, select Wildcard.
    3. For the Action field, select Block.
    4. For the Status field, check enable.
    5. Select OK.
    Web Content Filter
  9. In the Static URL Filter section, enable Web Content Filter.
  10. In the Web Content Filter widget, select Create New.
    1. For the Pattern Type field, select Reg. Expression.
    2. In the Pattern field, enter “example”.
    3. For the Language field, choose Western.
    4. For the Action field, select “Block”.
    5. For the Status field, check Enable.
    6. Select OK.
  11. EnableRate URLs by Domain and IP Address
  12. Disable Allow websites when a rating error occurs .
  13. Check Rate Images by URL (Blocked images will be replaced with blanks).
  14. Select Apply.

Create a Web Filter for the teachers

It might be more efficient if the Teacher Web Content List included the same blocked content as the student list. From time to time a teacher might have to view a blocked page. It would then be a matter of changing the Action from Block to Allow as the situation required. The following filter is how it could be set up for the teachers to allow them to see the “example” content if needed while keeping the blocking inappropriate material condition.

  1. Go to Security Profiles > Web Filter.
  2. Select the Create New icon.
  3. Enter the name “Teachers” in the name field.
  4. Enable FortiGuard Categories.
  5. Set the following categories to Block:
    1. Potentially Liable
    2. Adult/Mature Content
    3. Security Risk
    URL Content
  6. Go to Search Engines and expand the section if necessary. Enable Search Engine Safe Search on Google, Yahoo!, Bing, Yandex.
  7. In the Static URL Filter section, check Enable URL Filter.
  8. Select Create New.
    1. In the URL field, enter *example*.*
    2. For the Type field, select Wildcard.
    3. For the Action field, select Block.
    4. For the Status field, check enable.
    5. Select OK.
    Web Content Filter
  9. In the Static URL Filter section, check Enable Web Content Filter.
  10. In the Web Content Filter widget, select Create New.
    1. Enter the name “Teachers” in the name field.
    2. For the Pattern Type field, select Reg. Expression
    3. In the Pattern field, enter “example”.
    4. For the Language field, choose Western.
    5. For the Action field, select Exempt.
    6. For the Status field, check Enable.
    7. Select OK.
  11. Check Rate URLs by Domain and IP Address.
  12. Check Rate Images by URL (Blocked images will be replaced with blanks).
  13. Select OK.
To create a security policy for the students
  1. Go to Policy & Objects > IPv4 Policy.
  2. Select the policy being used to manage student traffic.
  3. Enable Web Filter.
  4. Select Students from the web filter drop-down list.
  5. Select OK.
To create a security policy for Teachers
  1. Go to Policy & Objects > IPv4 Policy.
  2. Select the policy being used to manage teacher traffic.
  3. Enable Web Filter.
  4. Select Teachers from the web filter drop-down list.
  5. Select OK.
  6. Make sure that the student policy is in the sequence before the teachers’ policy.