Blocking Cookies

  • Thread starter Thread starter James CC
  • Start date Start date
J

James CC

Hi there,

Does anyone know how I can add sites to IE's cookie blocking system? I'm
pretty sure it's possible, I've seen a program do it (though not in .NET
2.0).

Ideas anyone?

Thanks in advance,

James CC
 
Hi,

Well, the solution turns out to be that the values are stored in the
registry. You can add them manually, programatically, or by .reg file.

You can create a test .reg file as follows :

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\P3P\History\mytestAllow.com]
@=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\P3P\History\mytest2Block.com]
@=dword:00000005


Set the DWORD to 1 to allow, 5 to block.

It works with IE 6.0 SP2. Can anyone confirm for other versions, IE 5 or IE
7?

So thanks for the help, and hope this helps someone else.

James
 
Back
Top