Web Proxy Filtering (Windows Embedded CE 6.0)

1/6/2010

The Web proxy calls filtering code each time a request is made on the proxy. The Windows Embedded CE implementation of a Web proxy provides a sample proxy filter for implementing parental controls. You can also create a customized Web filter to perform the following tasks:

  • Allow, redirect, and/or block a URL.
  • Disallow Web use during specified times of the day.
  • Block selected IPv4 addresses and/or IPv6 prefixes.

Windows Embedded CE exposes an application programming interface (API) that enables you to create a customized Web proxy filter. To configure the filter, the Web proxy user interface (UI) sends an IOCTL to the Web proxy service to perform a specific configuration task. The IOCTLs are handled by the Proxy Service Control, which provides an interface between the Web proxy and Services.exe.

The following table shows the IOCTLs supported by Web Proxy for use in conjunction with the xxx_IOControl (Services.exe) function.

IOCTL Description

IOCTL_SERVICE_START

Starts the service.

IOCTL_SERVICE_STOP

Stops the service.

IOCTL_SERVICE_REFRESH

Starts and stops the service.

IOCTL_SERVICE_STATUS

Obtains the status of the service.

IOCTL_SERVICE_NOTIFY_ADDR_CHANGE

Notifies the filter that the IP address has changed.

IOCTL_SERVICE_PRX_SIGNAL_FILTER

Submits a signal to the proxy filter.

For more information about Services.exe, see Controlling a Running Service.

See Also

Concepts

Web Proxy OS Design Development