Re: 80004005 Error & File Permissons
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Sun, 3 Jun 2007 14:06:52 -0400
That "subfolder" is inside of your web structure. It needs to be outside of
it. That's what I meant by "outside of wwwroot". IIS won't serve the
contents of folders that aren't in the web structure.
You could also map the extension so IIS won't serve it.
Matt K wrote:
Thanks Bob!
I did as you suggested and all works, except the database can be
accessed directly if you know the database name, ie:
www.domain.com/folder/subfolder/database.mdb
I have the database password protected, but up until we added the new
SSL cert, did not have to worry about the database being accessed
simply by calling the url.
Any other suggestions?
Thanks again!!
Matt
"Bob Barrows [MVP]" wrote:
Matt K wrote:
Greetings,Move the file to a folder outside of wwwroot, grant the IUSR account
I have a website that access an Access 2003 database on the same
server, different folder. All worked fine until we added a new SSL
Certificate and now I receive the 80004005 "....already in use
or..... permissions...." error.
I can work-around this by giving the .mdb file read/write
permissions
to the IUSR-MachineName account, but this exposes the database to
anyone opening it or downloading it (which we don't want).
I'm using the following connection string:
Set oConn=Server.CreateObject("ADODB.Connection")
filePath = Server.MapPath("\folder\subfolder\dbDatabase.mdb")
oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
+filePath)
Any suggestions on how to allow the pages to access the database
without completely exposing it to the outside?
Thanks in advance!
Matt
Modify permissions to the folder containing the database.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- Re: 80004005 Error & File Permissons
- From: Bob Barrows [MVP]
- Re: 80004005 Error & File Permissons
- Prev by Date: Re: 80004005 Error & File Permissons
- Next by Date: Request User ID and password every time
- Previous by thread: Re: 80004005 Error & File Permissons
- Next by thread: Request User ID and password every time
- Index(es):
Relevant Pages
|
|