Forums

ASP

This topic is locked

avoid download of DB

Posted 20 Mar 2003 12:33:18
1
has voted
20 Mar 2003 12:33:18 Tom Ka posted:
Hello!

I am using an accessDB for generating websitecontent. I now need to avoid, that users can download this DB but that asp-scripts still have access to the DB.

someone can help???

multi thanx

Tom

Replies

Replied 20 Mar 2003 14:33:58
20 Mar 2003 14:33:58 Chris Cahill replied:
Hi Tom,

First password protect the database, then change the extension on database to .asp & adjust the connection file accordingly. IIS will allow downloading of a .mdb file but not a .asp without processing it. The site will function normally. If you need to get back into the database via MS Access, just reverse the process.

CHRIS
Replied 20 Mar 2003 16:11:45
20 Mar 2003 16:11:45 andre maas replied:
Maybe you should place the database outside of the wwwroot.
If you provider does
A good provider will alow this. ( www.vevida.nl )

Else see above..

end if
Replied 24 Mar 2003 08:06:29
24 Mar 2003 08:06:29 Tom Ka replied:
Thanx all!

Found a better way - forgot to say, that I can fully administer the server by myself: so the solution was just to go into the IIS adminconsole removing the read permission from the dbase directory.

so almost the things are simpler as the brain would expect <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>


tom

Reply to this topic