I recommend the same as the others, but if you can't do it that way then you
could rename the file something obscure and give it an HTM extension (like
"fh496jfu6.htm"). The browser would (assuming they ever figured the name
out) always try to render it rather than download it and it would of course
fail to display. Your connection string would have to be altered to match
the name and I don't think it will care what the file extension is,..I don't
think it has to be MDB extension to work.
Obviously I don't think that is the best solution, but it might work if that
is all you are able to do. I'll admit that I haven't tested it,...it is
just a brainstorm,...I guess I got bored.
--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/IS...cessRules.html
Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/t...dance/2004.asp http://www.microsoft.com/isaserver/t...dance/2000.asp
Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------
"Prabhat" <no*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl... Prabhat wrote:
How Can I restrict the database to be access directly from web? Please
suggest all alternatives that I can opt for.
The most common, and most effective, solution is to put the database
outside
of the wwwroot folder. There is no need to have it in the web folder
where it can be browsed to.
OK Thanks for that. But keeping the DB outside the web share folder will
require any user privilage settings?
Thanks
Prabhat