Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

help! how do prevent online dbase downloading?

Posted 16 May 2004 14:14:27
1
has voted
16 May 2004 14:14:27 sudhir hira posted:
Hi

I need HELP. I have a site using ASP.

To see how secure my dbase was i just typed the link to the dabase on my address bar while on-line, and to my suprise it allowed me to download my database.

How do i prevent people from doing this. I dont want them to download my database at all, even if it has a password. I will talk to the guys doing the hosting but is there any other help?

thanks

S69

Replies

Replied 16 May 2004 14:55:52
16 May 2004 14:55:52 Vince Baker replied:
Hi,

You need a host that allows a private directory that is before the root of your site. i.e.

You place all your docs in /htdocs/ and this is in effect where you index.doc is where someone browsing your www.yoursite.com/ arrives.

the directory structure given by your host should be something like:

/
htdocs/
private/

your db goes in the private directory, this way it is behind the root and therefore not browsable.



Regards
Vince

DMX Talkzone Manager

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting

Reply to this topic