Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Best way to protect your .mdb
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Best way to protect your .mdb

 Post Reply Post Reply
Author
markmied View Drop Down
Newbie
Newbie


Joined: 12 January 2003
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote markmied Quote  Post ReplyReply Direct Link To This Post Topic: Best way to protect your .mdb
    Posted: 30 March 2003 at 2:24pm
What is the best way to protect wwForum.mdb file, beside renaming it? If you know the file name you can easily download it. Any suggestions?

I tried looking for answers but there is simply too many posts.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 2:51pm
It is actually described very well in the forum documentation when you download it. Most important> Put your mdb outside of your web so it can only be accessed from within code. Depends on your host if they support it though. My host for example associated mdb with some script like asp (don't know what they picked) and when you try to download it, it just gives you a script error.
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 3:29pm
you can also password protect the database, set the password to something pretty random, be sure to change the connection string in the configuration files however
Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 4:26pm

One that doesn't come up very often, that Michael was sort of referring to, was that you can actually rename your database you have an asp extension.

This means that it can't be downloaded as it will (attempt to) be processed by the dll on the web server. Will still work if you point your connection string to this file.

Cheers,
Andrew

There have been many, many posts made throughout the world...
This was one of them.
Back to Top
markmied View Drop Down
Newbie
Newbie


Joined: 12 January 2003
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote markmied Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 4:39pm
Thank you all for replies.
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 5:16pm

The asp trick works well. Also, rename it to something with a random alpha-numeric name.

You can set permissions on the database itself to WRITE only and remove READ and remove all others. Usually, your host can do this if you aren't hosting your own website.

Password-protecting the database is not a bad idea; however, it can be cracked easily with several programs found on the Net.

Back to Top
eaglesexec View Drop Down
Groupie
Groupie
Avatar

Joined: 02 December 2002
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote eaglesexec Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 8:40pm
hmmm. i know the name of my DB and when i just type its URL in the browser window it will show me a page not found 404 error...  its in a database folder... i think my hosting people have to do with this. probably one of their security measures.
A good plan, violently executed now, is better than a perfect plan next week. -General George S. Patton.
Back to Top
Julian_Brunt View Drop Down
Newbie
Newbie
Avatar

Joined: 01 April 2003
Location: United Kingdom
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Julian_Brunt Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 2:57am
Originally posted by Bunce Bunce wrote:

One that doesn't come up very often, that Michael was sort of referring to, was that you can actually rename your database you have an asp extension.

This means that it can't be downloaded as it will (attempt to) be processed by the dll on the web server. Will still work if you point your connection string to this file.

Cheers,
Andrew

I will agree with that, you can also encrypt your DB 1st and then rename it with an asp extention.  This is kind of standard practice as I have been given this information for other web apps..

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.