views:

292

answers:

3

I'd like to know if there is a programming hook or some other feature in windows vista and IE 7 or 8 that would let a computer administrator let the user think they were deleting their web browser history but actually just copy it off to another folder. The new folder would use the date and time deletion was attempted as its naming convention. This would be used in place of a parental control program and as far as the user knows they have deleted the browser history.

+8  A: 

Never write a program that reports a result that's different from what actually happened.

It's far more effective to just tell the user that they are being monitored.

Robert Harvey
haha unless you want to breed `viruses`.
o.k.w
Like I was saying...
Robert Harvey
+2  A: 

I'd recommend using OpenDNS instead and enable the logging feature. (However - I would feel that this is only fair if the end user(s) are notified that logging is occuring)

scunliffe
+2  A: 

There is no supported way of doing this. There are no hooks. The Delete Browsing History feature does not have any extensibility points.

The right way to monitor is using a proxy (as mentioned in other answers). Alternatively, you could redirect the cache folder to a network share and have the network server make backups of it as often as you want. Or you could write a local script to do something similar.

Or just use the built-in IE parental controls.

Or, if you really want to, since IE just calls a helper method in inetcpl.cpl, you could detour the ClearMyTracksByProcess method exported by inetcpl.cpl and fake the UI while doing whatever you wanted to. But I really don't recommend doing that. Actually that would probably work quite well, aside from being really evil.

jeffamaphone
http://msdn.microsoft.com/en-us/library/dd565719(VS.85).aspx is called on DBH, but by the time it's called, the history is already gone.The better approach is to just use Group Policy to prevent deletion.
EricLaw -MSFT-