Question

Detecting Internet Surfing

Asked by: reidy_boy

Is there a simple test I can program to check whether anyone has been surfing the internet?  Up until now I have been using the hidden file:

C:\Documents and Settings\<username>\Local Settings\Temporary Internet Files\Content.IE5\\index.dat

and checking for file attribute changes (i.e. the last time the file was modified).  However I have noticed at least one flaw with this; it does not get changed if you explore by going to using My Computer and then using the taskbar.  I have also noticed that using this method means that websites bypass being entered into the internet history log.  Any help would be greatly appreciated.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-03-11 at 08:45:22ID21347365
Tags

detecting

Topic

Windows 2000 Operating System

Participating Experts
7
Points
340
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Simulating web surfing
    I need to simulate a web surfing session. I need a VB program that controls a web browser, clicking buttons, filling forms. A simple macro recording program wont work because the clicks and fill-the-forms needs to be programmed based on the web-server response. I´ve tried to...
  2. index.dat is huge
    My index.dat file size (c:\windows\temporary internet files\content ie5) is getting to be a little concerning is there any way I can reduce the size? (apart from stopping my family surfing!!) Thanx Scrounger
  3. Content.IE5 in XP Pro
    Hello I was surfing the net this morning and my virus software found that "The file C:\Documents and Settings\user\Local Settings\Temporary Internet Files\Content.IE5\FA8VNH4H\606969[1].exe is infected with QLowZones-5 Trojan. I could not delete the file through my viru...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: DanCh99Posted on 2005-03-11 at 09:08:35ID: 13518893

consider these:
http://www.spyarsenal.com/internet-spy/ (free!)
or
www.spytechonline.com

perhaps if you give us some more info about the scenario that you're facing, we can help further.

 

by: jkrPosted on 2005-03-11 at 09:14:16ID: 13518953

Why don't you check the event log? The system will record any established network connection there.

 

by: reidy_boyPosted on 2005-03-11 at 09:51:21ID: 13519369

DanCh99, for your information I work for a UK manufacturer of Fixed Odds Betting Terminals.  These are gambling terminals located in the bookmakers that require the random number to be generated outside the premises by law.  My job is to program the back office software that links to the in-house LAN and receives the random numbers from outside.  So as you can see an internet connection is vital to us for this purpose.  Unfortunately many of the shop managers spend a lot of their time surfing the internet and consequently a very high proportion of our engineer callouts are due to viruses they have downloaded (which of course they always deny).  What I am trying to do is pop up a warning that internet surfing is not permitted and then maybe keep a hidden log that can be used as proof.

jkr, the event log does not appear to distinguish between valid TCPIP use (for getting the random number) and internet surfing.  If I am wrong, how can I programatically retrieve this data?

BTW, I appreciate there are probably other more elaborate ways like removing the DNS server setting but some of our users are very clever and know how to get round this.  Also, a VPN is very expensive!

Hope this information helps.

 

by: mikeleebrlaPosted on 2005-03-11 at 13:52:17ID: 13521365

there are several tricks you can do to to prevent your users from surfing alltogether.  You mentioned removing the DNS server settings which is a VERY good one.  If your users are logged in with an account that only has "user" rights they cannot change this.  chaning networking settings (including dns) requires them to be logged in with local administrative rights.  having the users operate with local admin rights will also cause many other problems like the virus problem you already mentioned.  Of course your users might HAVE to be logged in with local admin rights if you use some 3rd party software that requires this.  Also,  you mentioned that a VPN is very expensive.  That couldn't be further from the truth. actually they are free. windows has  vpn server and client software built into most of its operating systems.  you can even set up an XP pro box to be used as a vpn server without any 3rd party software, its built right into the OS.

 

by: spiderfixPosted on 2005-03-11 at 16:19:47ID: 13522219

Internet Options
View
Explorer Bar
History
(or just Ctrl+H keys)

If you right-mouse click a link and click "Properties" it will show the date and time that page was visited.

 

by: UICEPosted on 2005-03-11 at 19:00:35ID: 13522781

You could audit when people succesfully run Internet Explorer.

Extracted from:
http://www.microsoft.com/technet/security/topics/threatsandcountermeasures/secmod50.mspx#EJAA

"After enabling the audit object access policy, you must determine the objects to which you want to monitor access, and then modify their SACLs accordingly. For example, if you want to audit any attempts by users to open a particular file, you can set a Success or Failure attribute directly on the file that you want to monitor for that particular event using Windows Explorer or group policy."

User who "succesfully" executed Internet Explorer would be aduited.

Check this site out for a detailed explanation on how to do this:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_evmonevents_17.mspx

 

by: vtsincPosted on 2005-03-11 at 22:35:16ID: 13523331

Easiest may be to have a firewall that requires user authentication prior to allowing outbound access on port 80 (and/or other ports if you're nterested in tracking/blocking Instant Messenger, etc.).  If you do so, at least you then know who (and when they did) accessed websites (provided that you log with the firewall).

 

by: UICEPosted on 2005-03-12 at 14:57:36ID: 13526376

That a good idea ... vtsinc.

You could also probably install Traffic Analyzer. You would then analyze traffic and make the analyzer send a "net send" message to your computer when a connection attempt to port 80 is trying to be attempted. I think an email could also be sent depending if you have exchange in your enviorment.

The IP of the machine attempting the port 80 connection will be logged, and you could at least know from which computer it came from.

This really depends on what version of Windows 2000 Server you have.

You could look into this. I'll take a look at home in my MCSE books, and I'll post back also.

And how about the auditing option?

 

by: PaulADavisPosted on 2005-03-12 at 18:41:07ID: 13527017

the easiest method would be the firewall route... you can use hardware or software firewalls to keep a log of every site visited.... hardware firewall would be a router. you can get a fairly cheap on from netgear, linksys, etc that will keep a record of websites visited and which internal ip address accessed the site (if you have multiple computers). You could use a software firewall like the free Zonealarm that will do pretty much the same thing. One benefit of using these is that you will have some control over who can go where and even when (especially if you're using a hardware router).

if you seek control you can also use content advisor in the IE properties to require a password for web site access, but that could be a pain in the butt if you ask me :-)

anyways...gl hope this helps.

 

by: reidy_boyPosted on 2005-03-14 at 02:31:25ID: 13533362

Thank you everyone for your comments thus far.  I think I should point out a few things for additional information.

Number one, all PC's out in the field have administrator rights.  Not the most ideal setup I know, but there is method behind the madness.  When engineers come to site to fix a problem they will often need administrator rights to do so.  With several hundred PC's out in the field it is not feasible to have a different administrator password for every site and so we use a standard password for convenience.  It was felt that even if we tried to keep this secret we would eventually fail dismally.

mikeleebrla, the windows VPN you mentioned caught my attention; this looks the ideal solution if it can prevent web surfing.  One down side though, it would be a huge overhead.  What we are in a position to do however is to automatically FTP software updates and this leads on to the second point raised by vtsinc - disabling port 80 which I will also have a look at.  Maybe there is some code that could do this???  It could be run either at regular intervals or whenever my program detects explorer has been opened.

Finally, some of you mentioned how to audit which websites people had been visiting but this is not really all that helpful to us.  We just want to prevent people surfing the web full-stop.  The username will always be Administrator (software doesn't fix all the worlds problems!).  If we can't physically stop them, our second best option would be to report when they have and escalate it to the area manager.  Then the shop manager at the alleged time would always be accountable.

 

by: PaulADavisPosted on 2005-03-14 at 07:14:30ID: 13535553

use the IE properties content tab to stop web browsing....

go to tools---content---click enable---and create a password

 

by: PaulADavisPosted on 2005-03-14 at 07:19:49ID: 13535612

this will prevent web sites from being visited without knowing the password that you set

give it a shot and see if that would work for you...

oh, create the password under the general tab once you enable content advisor...
this is a configuration that you can set up on all the pc's then either keep the password secret or just give it to managers... then instruct them how to use content advisor...

 

by: PaulADavisPosted on 2005-03-14 at 07:23:00ID: 13535651

don't know if you're using group policy or not... and yet still not sure if the option to set content advisor settings is an option in group policy... i'll have a look and see if that option is available....

 

by: reidy_boyPosted on 2005-03-14 at 09:43:50ID: 13537010

Hey! that's just what I am looking for.  Some of the innocent pages (e.g. www.msn.com) still show their content in the background even when the window pops up.  Any reason for that?

 

by: UICEPosted on 2005-03-14 at 10:25:15ID: 13537365

"Is there a simple test I can program to check whether anyone has been surfing the internet?"
Sorry mate but I had understood that you wanted to check wether anyone, meaning anybody (not just one user) if they were surfing the internet or not. That is why I suggested to audit or to use Traffic analyzer which would automaticly message you in the event that port number 80 was being used on your network (I still honestly couldn't verify this, that's why I didn't post more info onit ... sorry).

I now understand that all you want to do is stop any but most specificly Administrator (as stated here "We just want to prevent people surfing the web full-stop.  The username will always be Administrator" ) from accessing the internet and I would say, as you said that PaulADavis idea would be the easiest idea ...

The msn site still might popup in the background becuase it either might be trusted automaticly by your explorer as a trusted site or becuase it might be in your computer's internet cache. After all, for microsoft, what content from www.msn.com (microsoftnetwork.com) should you be "advised" from??

 

by: PaulADavisPosted on 2005-03-14 at 11:07:51ID: 13537753

not sure... you can always try to specifically block msn and see what effect that has....

 

by: reidy_boyPosted on 2005-03-15 at 02:43:29ID: 13543176

Hi UICE, you are right, I will put my hands up here and admit that preventing web surfing was not the original question I asked and as such I will split the points.  PaulADavis, your answer was the most helpful to my scenario and so I will award you some of the points even though it would be wrong for me to flag your answer as the accepted one.

 

by: PaulADavisPosted on 2005-03-15 at 06:26:50ID: 13544682

no prob.... glad that i could be of some help :-)

thanks

 

by: UICEPosted on 2005-03-15 at 13:05:43ID: 13548940

Well in reality I am the one out of place here. I really do not deserve the points as I did not supply the correct answer to your problem.

I was in reality just trying to state why I might have suggested to audit instead of suggesting a way of controling access based on your initial question ...

Terribly sorry if I somehow said or meant something that in reality wasn't my intention of actualy comunicating.

Glad you could all eventually help you out ...

Cheers ...

 

by: reidy_boyPosted on 2005-03-16 at 01:54:31ID: 13553566

This is a problem my company has been struggling with for some time now, and we have been looking at various strategies to deal with it.  There is no single right or wrong answer to this one, it may well be that we implement more than one solution for extra security.  Your comments helped as well and as such you deserve credit for that :-)

 

by: UICEPosted on 2005-03-16 at 13:39:50ID: 13559851

Thanks mate. Glad I could also chip in and help out ...

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...