Securing MsAccess DB on WebServer

if an access db is stored on the server, like

http://www.server.com/username/mydb.mdb

if some one knows this path , he might download this database by browsing this url, so we can not put user’s login information & passwords in it.

How can we secure an Ms Access Database on the server. As I
know, the new ADO don’t support password in access..

even it do support, we know that there are many cracking software that can bring the password of access or word files…

some webhosts provide some type of locking for this problem. but is there any way ,by that we can secure the access database on the server

Re: Securing MsAccess DB on WebServer

Firstly why would you use access DB? how about MS-SQL ? or mysql ? Technically I know nothing about access DB anyway. I'd suggest using alternate DB server though.

Re: Securing MsAccess DB on WebServer

Well, I am using access & asp for most of projects...

I know access is not for websites but currently I dont have other option.

Re: Securing MsAccess DB on WebServer

I guess u can restrict access to the folder with the mdb file to a local call by the .asp and not directly from the internet. But then as Najim suggested use mysql or something.

Re: Securing MsAccess DB on WebServer

your mdb doesn't have to be in the webserver path. you can use a ODBC connection with ASP to connect to it and your mdb will always be hidden..

Re: Securing MsAccess DB on WebServer

Can't understand, Have some idea but not completly. Can you explain a little more....or give me some reference...

no, I dont use any ODBC on the webserver, it is a direct connection to db....but can I do so....how ?

Re: Securing MsAccess DB on WebServer

I googled it for you, may be you can find better once with other search words.

http://ces.asu.edu/ceslab/kb/odbc_access.htm

Re: Securing MsAccess DB on WebServer

MY4, can you tell us a bit about how your server is setup? Do you have full control or is it one of those paid, shared hosting where you get some webspace and a control panel?

Re: Securing MsAccess DB on WebServer

No I have a paid hosting...., I got a control panel & other stuff like that...

Re: Securing MsAccess DB on WebServer

Well, it is probably on a local system or an own webserver, while I am talking about a paid webhosting service.

However I manage to got the solution through another searches…Encryption is involved in it. There are hash function developed to protect such issues. like user ids & password in database.

It will generate a secure string for a given string…like if you put

testpassword —> hash function —> cdef7gh4hahkmayelkho

also

cdef7gh4hahkmayelkho — hash function → testpassword

check the article for your knowledge…:smiley:

Re: Securing MsAccess DB on WebServer

Well issue here is that if someone can see ur .mdb file he can download the whole DB, cant he? Once he has the whole DB - he can do whatever he wants to do with the DB, crack/hack decrypt etc etc. Thats why I suggested using other type of DB SERVER. If u can ask ur provider to change ur plan to MSSQL SERVER(or mysql), or use Linux hosting with mysql, u may not be able to use asp unless FP/MS extentions are installed on top of apache, but then u can use php instead.

If you want to test - get a free shell account with mysql & manually test ur stuff for mysql

Free (unix/linux) shell account with apache & mysql (free webhosting) is available from

http://www.unixdaemons.com/
(or google for more)

I’d suggest get it & test ur stuff there see whats good for u.

Good luck.

Re: Securing MsAccess DB on WebServer

what doez shell means.

I know databases like SQL server, Oracle, mysql are secure, because you can not copy them as copying file...

The purpose of encryption with access is that. even some one know the encrypted password, he cannot decrypt it...It might be possible with some very advance user but not with a user like me or you.

Re: Securing MsAccess DB on WebServer

:hehe: How do you know how advanced he is?

But going back to the issue at hand for linux based hosts they usually provide you with other folders besides “public_html” (which is where you place files accessible through the website, as Ansoo pointed out), where you can place the mdb file, so access to it thru the internet will not be possible but ur .asp page would be able to access it locally on the machine.

Re: Securing MsAccess DB on WebServer

the security provide from the server is enough, but if some1 manage to get the database, inside our organization. he might see the passwords of other users.

Consider Yahoo User Accounts, do you think any 1 from yahoo staff could know the passwords of public user accounts, even they have access to the database (from webmasters)

Re: Securing MsAccess DB on WebServer

I know the big db's like Oracle, SQL Server have enough security, I m just trying to do that wid ms Access...

Re: Securing MsAccess DB on WebServer

Bhaee-jaan thats what I am trying to say, access does not have that function :)

Few years back with mysql 4.x or older version, people had to use postgreSQL because mysql was lacking many advanced functions. Same principle applies here, access lacks those functions.

Now you should set ur preferences, what exactly do u want? To use Access, security, ease, budget, expertese etc & then decide. Dont try to do an Oracle function with access, it wont work.

Re: Securing MsAccess DB on WebServer

Yes I know that. infect I just have started working in ASP classic. So the eaziest database & also its hosting we can find free, most of the places... It is Ms Access

after developing some projects in it I'll go for ASP.Net & SQL server or PHP & MYSQL but still I am confused about future of these. Not sure who gonna rock in future of web.

Re: Securing MsAccess DB on WebServer

^^ OMG! Who is going to rock? hahaha
Its not like the competition between Blu-ray and HD-DVD now, is it?
Both of them have been existence for a while and have been living side by side happily. Just pick one and go with it. ASP is usually bigger corporations on the M$ platform, whereas php/mysql users tend to be poorer/open-source kinda ppl (I did say usually, so don't flame me for it). Most web-hosting accounts based on php are cheaper.

Where are u getting free asp based provider? Is it the one whose name starts with W? I can't think of the name right now.

Re: Securing MsAccess DB on WebServer

Wait, it didn't start with a W, it is www.brinkster.com. Way back when they used to offer a free account I signed up, and the account is still valid. I don't see any link to create another one. Let me see if i can do referrals.

Re: Securing MsAccess DB on WebServer

Brinkster still offers free accounts. The link is very obscure and embedded within a maze of pages. I get students to use it in my undergrad MIS courses for hosting databases and asp pages.