-
Apr 10th, 2006, 06:43 AM
#1
Thread Starter
Addicted Member
[resolved]Secure my access database
Hi again!
We are upgrading our LAN, so more users will be in it and more users will be able to see the database. Time has come to take care of the security problem. I don't want someone to delete the database or even copy it and make it public...
Here's how the project works:
1 EXE file and 1 .mdb File on the server.
the computers that has the program installed has a shortcut to that EXE file, and the EXE is making the changes in the database.
The folder where the database and EXE are is SHARED with full access (READ WRITE...)
How can I make it more secure?
For instance I am thinking to share the FOLDER with $ so no one will see the folder and no one will delete that folder, is it OK?
Ideas?
Last edited by BestS; Apr 15th, 2006 at 08:08 AM.
Using Visual Basic 6.0, access 2000, Visual Studio 2005
Rate the post that you approve
-
Apr 10th, 2006, 07:12 AM
#2
Re: Secure my access database
The best you can do is to create an access rights list, assign to the folder the DB is in, and only add the accounts of the folks that need to use to the list.
This will still mean that anyone on that list can do whatever they want, but you have at least narrowed down the culprit list.
-
Apr 10th, 2006, 07:29 AM
#3
Thread Starter
Addicted Member
Re: Secure my access database
Thank you! I'll do that
You mean access right, not in MS Access, but the WINDOWS access right?
Any other opinion are welcome.
Using Visual Basic 6.0, access 2000, Visual Studio 2005
Rate the post that you approve
-
Apr 10th, 2006, 07:36 AM
#4
Re: Secure my access database
Originally Posted by BestS
Thank you! I'll do that
You mean access right, not in MS Access, but the WINDOWS access right?
Yes, through Windows.
You will need administrative rights on the network, or at least that folder, to do so.
-
Apr 10th, 2006, 08:19 PM
#5
Re: Secure my access database
I'm thinking, since you said that you only have 1 exe and only the shortcut of it are given to the workstations, can't you make it such that the folder of perhaps the drive where the database is located won't be accesses by the users?
-
Apr 10th, 2006, 09:06 PM
#6
Re: Secure my access database
Right, something like in your connectionstring you have a special user account that has access to the folder where the db resides. Then when a user tries to navigate via explorer to the db folder they wont be able to access it if you set the folder permissions accordingly.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Apr 11th, 2006, 07:18 AM
#7
Thread Starter
Addicted Member
Re: Secure my access database
Please give an example of connection string with RIGHTS to access folder in it.
And Yes Dee-U I will put the exe files localy on all computers and they will point the database path
Using Visual Basic 6.0, access 2000, Visual Studio 2005
Rate the post that you approve
-
Apr 11th, 2006, 10:39 AM
#8
Re: Secure my access database
It would be set from your folder permissions in windows. Right click the folder and select security. This is available under window ntfs file systems only.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Apr 13th, 2006, 08:42 AM
#9
Thread Starter
Addicted Member
-
Apr 14th, 2006, 01:33 AM
#10
Thread Starter
Addicted Member
Re: Secure my access database
Sorry I asked before I think...
I use simple sharing, that is why whis screen appears.
I unchecked "simple sharing" from the Folder Options menu
THANK YOU ALL
Using Visual Basic 6.0, access 2000, Visual Studio 2005
Rate the post that you approve
-
Apr 14th, 2006, 01:35 AM
#11
Thread Starter
Addicted Member
Re: Secure my access database
So now comes the this problem:
Let's say I allow only one computer X to access the database folder
Ok but what if from that computer someone goes to the folder and deletes it?
How can I do so that NO ONE can BROWSE the folder, but the EXE file still can make changes (Add Edit...)
Using Visual Basic 6.0, access 2000, Visual Studio 2005
Rate the post that you approve
-
Apr 14th, 2006, 12:17 PM
#12
Hyperactive Member
Re: Secure my access database
when we are still using access db, i always left the database open on the file server... this prevent others to accidentally delete the database... you cannot delete the db unless there are no connection or using the database
-
Apr 14th, 2006, 12:27 PM
#13
Re: Secure my access database
Ok but what if from that computer someone goes to the folder and deletes it?
On the bottom of the Security tab is an "advanced" button, from here you can set more specific permissions, and Delete is one of them. Simply remove it from there for the best protection you can get with an Access database.
Unfortunately there is no way to be able to stop the people who need to use the database from copying the file, and doing whatever they want with it.
-
Apr 15th, 2006, 08:08 AM
#14
Thread Starter
Addicted Member
Re: Secure my access database
THANK YOU ALL! I AM GLAD THAT PROFESSIONALS LIKE YOU SHARED EXPERIENCE WITH ME!
These answered solved my problem
And may be soon I will start using SQL SERVER ....
Be healthy! Bye!
Using Visual Basic 6.0, access 2000, Visual Studio 2005
Rate the post that you approve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|