File extension

PLH

Well-known member
Joined
Dec 18, 2004
Messages
48
Location
Los Angeles, CA - USA
Programming Experience
Beginner
Hithere,

Recently, I created a VB application which uses a database (.mdb) file. I want to set the file extension to some other extension (for example .sss) in the deployment project, in order to prevent outside access to the file after installing the application into another computer. Does any one know how to do this? Thanks for your time!
 
Last edited:

Administrator

VB.NET Forum Admin
Joined
Jun 3, 2004
Messages
1,461
Programming Experience
10+
Just rename it and reference the proper name and extension.

Please do not post the same question in multiple forums. Other posts have been removed.
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
You might want to set a password and encrypt it aswell. Just changing the extension won't prevent a user from opening it.

TPM
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
personally if you need more security then setting a database password & changeing the extension on an access database, you should consider switching to an SQL database
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
JuggaloBrotha said:
personally if you need more security then setting a database password & changeing the extension on an access database, you should consider switching to an SQL database
It's not as easy to deply though, and would take up a lot more room. That's assuming that the clients arn't all on the LAN. If he encrypts and passwords the DB it'll be fairly secure.
 
Top Bottom