ijwk
Feb 25 2006, 01:43 PM
I am trying to determine what the best way to handle a database directory. Pleask does not allow me to create directories in the same level as the httpdocs directory. In the bast I have always created a directory at the root level for my access databases. This prevents someone from getting the database from the web.
I tried to create a protected directory but that did not seem to work correctly.
WHat do others do to protect a database directory?
thanks,
ijwk
Squire
Feb 26 2006, 05:46 AM
Assuming you have shell access, you can create the directory at the same level as httpdocs as you have before. I do it all the time to protect files that can be downloaded, but to force people through a validation script on my sites.
Beyond that a simple htaccess/htpasswd set up for a normally web-accessible directory should work also.
This is with my Plesk/*nix boxes. Is that what you're using or are you perhaps talking about a Plesk/Windows box, since you mentioned Access databases. If it's a 'doze box, there is a section of the forum dedicated to those below. I honestly wouldn't have a clue what's possible with them since I refuse to run a Windows box.
enterprisetoday
Feb 26 2006, 09:17 PM
there is a directory called ~/private which you can put stuff into. http (apache) does not have access to this directory.
On my system this is where i put scripts and things.
This will of course only apply to linux.
da!!as
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.