Results 1 to 14 of 14

Thread: [resolved]Secure my access database

  1. #1

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    Resolved [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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    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.

  3. #3

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    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

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: Secure my access database

    Quote 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.

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,044

    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?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  7. #7

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    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

  8. #8
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  9. #9

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    Re: Secure my access database

    I don't see security anywhere even on the drive that is NTFS
    When I was with Win2000 I had these permision, but now when I use
    XP Professional i don't, look at the picture
    My C: is NTFS, but I have fat32 also
    Attached Images Attached Images  
    Using Visual Basic 6.0, access 2000, Visual Studio 2005

    Rate the post that you approve

  10. #10

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    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

  11. #11

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    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

  12. #12
    Hyperactive Member
    Join Date
    Feb 2006
    Location
    Philippines
    Posts
    468

    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

  13. #13
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,502

    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.

  14. #14

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    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
  •  



Click Here to Expand Forum to Full Width