View Single Post
  #10 (permalink)  
Old June 3rd, 2004, 05:33 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 71,804, Level: 100
Points: 71,804, Level: 100 Points: 71,804, Level: 100 Points: 71,804, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,052
Thanks: 80
Thanked 1,581 Times in 1,558 Posts
Default

Hi Vijay G,

I agree with all the information you provided in your posts in this thread, except for your last remark:
Quote:
quote:* This error can also occur when the database is located outside of the inetpub/wwwroot directory. Though the information is still able to be viewed and searched, it cannot be updated unless it is in the wwwroot directory.
This is not true. I fact, it's often recommended to store the database outside the web scope, in C:\Databases for example, to prevent the database from being downloaded. If you store the database within your webroot, like C:\inetpub\wwwroot\Databases, it can be downloaded using http, for example: http://YourServerName/Databases/YourDatabase.mdb

You can prevent that from happening by setting additional security settings on the file and folder (using Integrated Security, in combination with NTFS security), but placing the database outside the web root is often much easier.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote