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

    Join Date
    Jun 2013
    Posts
    15
    Rep Power
    0

    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?

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

    Join Date
    Jun 2005
    Posts
    4,379
    Rep Power
    1871
    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