The Artima Developer Community
Sponsored Link

Web Buzz Forum
Stupid 'Security' Problem - MS Access in WinXP SP2

3 replies on 1 page. Most recent reply: Jan 25, 2007 8:48 AM by james maxwell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Chirag Mehta

Posts: 80
Nickname: chime
Registered: Jun, 2005

Chirag Mehta is IT Systems Manager for Formulated Solutions and owner of Chime Softwares
Stupid 'Security' Problem - MS Access in WinXP SP2 Posted: Aug 2, 2005 8:28 AM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Chirag Mehta.
Original Post: Stupid 'Security' Problem - MS Access in WinXP SP2
Feed Title: chir.ag/tech
Feed URL: http://chir.ag/tech/rss.xml
Feed Description: Chirag Mehta - Tech Web Log: I discuss pretty much anything related to technology that comes to my mind, from the nitty-gritties of string parsing in some language to the overall big picture of the software world.
Latest Web Buzz Posts
Latest Web Buzz Posts by Chirag Mehta
Latest Posts From chir.ag/tech

Advertisement
This issue relates solely to users of Microsoft Access databases. If you have Windows XP SP 2 and download any unsigned MDB file from the internet via http, ftp, email etc., the "intelligent" security model that is Windows XP prevents you from opening the file under any condition. You will get the following error: "Microsoft Access cannot open this file. This file is located outside your intranet or on an untrusted site. Microsoft Access will not open the file due to potential security problem."

Even though the file is located on your own hard drive and not on an external network, Access thinks it's unsafe to open, nevermind the fact that you are desperately trying to get it to open because you need to get on with work. Took me a while to figure out what was going on with a business partner of ours who downloaded an Access DB locally to connect to our remote server.

Turns out, it's a very simple fix: Right-click on the MDB file icon and select 'Properties' followed by 'Unblock' - hit 'Apply' and you're all set. Access should open the file normally. Sure it works now, but through no fault of mine or our partner's, both of us wasted an hour trying to redownload the file, cleaning the cache, disabling anti-virus software, verifying IE's security level configuration etc.

Here's what all went wrong:

  1. Microsoft never announced that SP2 for WinXP will make downloading unsigned files absolutely useless. If they did, then it's probably lost in the fine-print of a thousand-page change log. This is not a minor security fix but a pretty big one - it affects the control users have on their computer.
  2. Microsoft decided that file-types like MDB are critically unsafe (and you actually need to use Microsoft's own MS Access software to create these files!) and blocked them. It's like Honda realizes their Honda CD Players are unsafe and prevents them for being played at all in every new Honda. When you install SP2, you are not told or warned that some files downloaded from the internet (http, ftp, email etc.) will be automatically tainted and blocked unless you specifically unblock them. No I did not get the memo. You just can't change things on whim.
  3. The concept of signed and unsigned files itself is absolutely flawed. Signed just means who made the file. Doesn't make a difference in protecting you. If you downloaded an MDB file from CompanyX.com then it automatically means that chose to trust 'Company X' so there really isn't a need for signing the MDB files. I'd blame the user if they downloaded a rogue MDB from WarezY.com and got infected. How about MS make it so that random MS Access MDBs downloaded from anywhere can't really do potentially dangerous stuff unless allowed by the user? "Hey this MDB file is trying to delete files in your Windows\System32 folder - Are you sure you want to allow it?"
  4. There was no MSKB article on the error mentioned above that said click the 'Unblock' button. There were two articles saying that you need to map the drives or allow certain IPs/domains to your local intranet level but neither said that Windows XP SP2 intentionally screws with MDBs.
  5. The MS Access error itself is wrong. The file is NOT in the internet, it is NOT outside my local intranet, and it is most definitely not a potential security problem! But I guess the way Windows XP Security Model works is that it blocks the file before MS Access can read it and since Access receives a 'blocked' error, it responds with the only natural error message: It was blocked because it's on the internet and hence unsafe.
Anyways, the problem is fixed now and I hope this entry helps some other troubled soul fix it too.

Read: Stupid 'Security' Problem - MS Access in WinXP SP2


indera indera

Posts: 1
Nickname: indera
Registered: Oct, 2006

Re: Stupid 'Security' Problem - MS Access in WinXP SP2 Posted: Oct 9, 2006 10:56 PM
Reply to this message Reply
Hi,
I have the same problem. But, my access file is located under network drive. I work in School, and when my client try to open this file at a classroom it keep saying that the file is located outsite the intranet. But, when they go to their own room, they can open the file. Can you describe more about " Right-click on the MDB file icon and select 'Properties' followed by 'Unblock' - hit 'Apply' and you're all set." Because i'm not really sure about what you mean by "Unblock".
Thanks.

Vapor Ware

Posts: 1
Nickname: vaporware
Registered: Dec, 2006

Re: Stupid 'Security' Problem - MS Access in WinXP SP2 Posted: Dec 1, 2006 12:04 PM
Reply to this message Reply
I had the same problem after upgrading to IE7.0
This is how I finally fixed it.
Bring up IE.
Select Tools.
Select Internet Options
Select Security tab.
Select Local Intranet
Select Sites.
Unclick the first box that says
Automatically detect intranet networks.

Seems to work for me..

Vaporware

james maxwell

Posts: 1
Nickname: jamesmax
Registered: Jan, 2007

Re: Stupid 'Security' Problem - MS Access in WinXP SP2 Posted: Jan 25, 2007 8:48 AM
Reply to this message Reply
I was interested to find this article when one of my clients running XP machines with an Ubuntu server came up with this problem.

I too cannot fathom what is meant by 'Unblock' in the original thread from 'Chirag Mehta' I would also like n explanation as to what is meant.

The one thing i did find out was that it is to do with Microsoft security and there is an interesting article at http://support.microsoft.com/kb/303650 which describes what the issue is. Also it has some solutions and the aptly named 'workaround'. God forbid they can fix it, you have to use a workaround!

I have no tried this out yet so i might not be right so i will let you know.

this is all basically what 'Vapor Ware' says with a little more technical information.

James Maxwell

Flat View: This topic has 3 replies on 1 page
Topic: Spring Web Flow 1.0.1 Released Previous Topic   Next Topic Topic: Promote FireFox With Rounded Borders

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use