B
Babbling Brooke
Dear Dudes,
I have a hosted ASP.NET website, and I want to prevent HTTP access to my
..MDB database file. The following is in my web.config at root of website:
.. . .
<httpHandlers>
<add verb="*" path="*.mdb" type="System.Web.HttpForbiddenHandler"/>
</httpHandlers>
.. . .
However, this had no effect. If I type http://www.mywebsite.com/db/mydb.mdb
in Internet Explorer, I get the dialog allowing me to open or save the file.
Any futher suggestions?
I have a hosted ASP.NET website, and I want to prevent HTTP access to my
..MDB database file. The following is in my web.config at root of website:
.. . .
<httpHandlers>
<add verb="*" path="*.mdb" type="System.Web.HttpForbiddenHandler"/>
</httpHandlers>
.. . .
However, this had no effect. If I type http://www.mywebsite.com/db/mydb.mdb
in Internet Explorer, I get the dialog allowing me to open or save the file.
Any futher suggestions?