Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. .mdb file problem

.mdb file problem

Scheduled Pinned Locked Moved Database
databasehelp
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 12723956
    wrote on last edited by
    #1

    we have been working on application which use ..mdb file to store the data ... now if any one copies the database from c drive opens it which is password protected make changes and overwrite it back on program files ... is there any way we can find this out ... if someone has touched the db ... file is password protected but in case person knows the password ... like if we made some mistake in some entry and we open the db correct the entry and save it and then overwrite it in program files ... the application keeps working normally after that ... Please let me know if there is any software or method to find that out .

    M V 2 Replies Last reply
    0
    • U User 12723956

      we have been working on application which use ..mdb file to store the data ... now if any one copies the database from c drive opens it which is password protected make changes and overwrite it back on program files ... is there any way we can find this out ... if someone has touched the db ... file is password protected but in case person knows the password ... like if we made some mistake in some entry and we open the db correct the entry and save it and then overwrite it in program files ... the application keeps working normally after that ... Please let me know if there is any software or method to find that out .

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Well for a start .mdb indicates you are using Access which is a single user tool. Why is someone able to copy the file from your machine! Oh wait you probably have it on a server and a number of clients use it - WRONG TOOL for the job. Move to SQL Server. Password protection is supposed to PROTECT your file, you are not managing your passwords well enough! You can make your folder readonly so they can copy but not return the file. Not sure if this will stop you writing to the database - test it. It seem you are using the wrong tool in a badly managed environment, it is unlikely this will have a happy ending.

      Never underestimate the power of human stupidity RAH

      Richard DeemingR 1 Reply Last reply
      0
      • U User 12723956

        we have been working on application which use ..mdb file to store the data ... now if any one copies the database from c drive opens it which is password protected make changes and overwrite it back on program files ... is there any way we can find this out ... if someone has touched the db ... file is password protected but in case person knows the password ... like if we made some mistake in some entry and we open the db correct the entry and save it and then overwrite it in program files ... the application keeps working normally after that ... Please let me know if there is any software or method to find that out .

        V Offline
        V Offline
        Victor Nijegorodov
        wrote on last edited by
        #3

        Maybe this discussion could help you: oledb - Detect time of last change on a Microsoft Access database table - Stack Overflow[^]

        1 Reply Last reply
        0
        • M Mycroft Holmes

          Well for a start .mdb indicates you are using Access which is a single user tool. Why is someone able to copy the file from your machine! Oh wait you probably have it on a server and a number of clients use it - WRONG TOOL for the job. Move to SQL Server. Password protection is supposed to PROTECT your file, you are not managing your passwords well enough! You can make your folder readonly so they can copy but not return the file. Not sure if this will stop you writing to the database - test it. It seem you are using the wrong tool in a badly managed environment, it is unlikely this will have a happy ending.

          Never underestimate the power of human stupidity RAH

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          Mycroft Holmes wrote:

          You can make your folder readonly so they can copy but not return the file. Not sure if this will stop you writing to the database - test it.

          It will. Making the folder read-only would even stop you reading the database, because this is MS Access. In order to open the database, it has to create a lock file in the same folder.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          M 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Mycroft Holmes wrote:

            You can make your folder readonly so they can copy but not return the file. Not sure if this will stop you writing to the database - test it.

            It will. Making the folder read-only would even stop you reading the database, because this is MS Access. In order to open the database, it has to create a lock file in the same folder.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            It's been 15 years since I touched Access, does that represent short memory loss I wonder. While I think Access has it's place, the moment it moves to a server or shared drive it becomes the wrong tool for the job.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups