Blocking Test by Username
With GFI WebMonitor configured to use Basic Authentication, repeat the blocking test previously carried out, but this time use the logged on user credentials. The outcome of this test will confirm that policies are being applied by username.
1. Go to Manage > Policies and create a new Policy.
2. In Policy Name field, enter Authentication Test.
3. In Policy Description, enter a description.
3. Change the Allow, Block, Warn, Monitor element to Block.
4. From the left sidebar, add the Websites element.
5. Locate and insert the Computer and Internet Info category to block social networking websites (for blocking test purposes).
6. Insert the Users, Groups, IPs and insert the username currently logged on the machine.
7. Click Save to apply the changes.
8. Go back to your browser and open www.example.com
. The GFI WebMonitor blocking page should now be displayed. Note that this time the label Breached Policy has changed to 'Authentication Test'.
If the warning is displayed, then GFI WebMonitor is working correctly!
If the block did not work, make sure you have entered all details correctly, and that you have saved changes to the policy. Try closing and re-opening the browser, and check the Real-Time Traffic dashboard in the GFI WebMonitor interface to ensure that traffic is being routed through the proxy correctly. If you see the request with the IP, this means that you have not forced authentication correctly and you should use IPs for your policies. If you see a different username, you need to enter this username in the policy.
If you don’t manage to get this part working you should contact our support team so that we can help you to troubleshoot your installation.