1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Rep Power

    Help with a URL Filter in C

    Hi All,

    As a learning exercise I'd like to create a C program that is able to intercept web traffic, compare the URL to a blacklist and then permit or deny access.

    I'd like to avoid using a proxy, so have been reading about the 'Windows Filtering Platform' APIs and services. However, the documentation and samples are weak.

    Can anyone point me in the right direction?

  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Rep Power
    Where have you been looking?

    Try looking on MSDN
    For example, right at the bottom of the page, there's "WFP Sample Project".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo