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. What is the best way to place database on client 's machine?

What is the best way to place database on client 's machine?

Scheduled Pinned Locked Moved Database
databasequestioncsharpsharepoint
4 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.
  • R Offline
    R Offline
    r_mohd
    wrote on last edited by
    #1

    Hell all, i have developed an application say inventory management in vb.net/ ms sql. now i want to install this application on different machines of my clients. i have written maximum code in Sp's and have fear that some one copy it or edit/delete it. kindly suggest me a best way in which no one copy my database or edit/copy/delete it. thanks in advance

    rmshah Developer

    P N 2 Replies Last reply
    0
    • R r_mohd

      Hell all, i have developed an application say inventory management in vb.net/ ms sql. now i want to install this application on different machines of my clients. i have written maximum code in Sp's and have fear that some one copy it or edit/delete it. kindly suggest me a best way in which no one copy my database or edit/copy/delete it. thanks in advance

      rmshah Developer

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      That's a big reason not to use stored procedures. If it's your client's system, you can't lock them out from doing silly things to it, yet you will likely be responsible for repairing any damage they do. At best you could have a written agreement that clearly states what happens when they screw up the system. I've was only required to write stored procedures for one client, and it as dreadful. X|

      A 1 Reply Last reply
      0
      • R r_mohd

        Hell all, i have developed an application say inventory management in vb.net/ ms sql. now i want to install this application on different machines of my clients. i have written maximum code in Sp's and have fear that some one copy it or edit/delete it. kindly suggest me a best way in which no one copy my database or edit/copy/delete it. thanks in advance

        rmshah Developer

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        Don't give database to the users. Keep it in a secured server. Create a web service/WCF service which provides access to this database from your application. This helps to keep database isolated and prevent users from modifying the SPs. Another alternative(worst) what I think is to create the stored procedure with WITH ENCRYPTION clause. This will make the SPs encrypted, but there is no easy way to decrypt it back. Again, this will not prevent users from dropping it. :)

        Navaneeth How to use google | Ask smart questions

        1 Reply Last reply
        0
        • P PIEBALDconsult

          That's a big reason not to use stored procedures. If it's your client's system, you can't lock them out from doing silly things to it, yet you will likely be responsible for repairing any damage they do. At best you could have a written agreement that clearly states what happens when they screw up the system. I've was only required to write stored procedures for one client, and it as dreadful. X|

          A Offline
          A Offline
          Ashfield
          wrote on last edited by
          #4

          PIEBALDconsult wrote:

          That's a big reason not to use stored procedures.

          Not really. The user can just as easily go in and update the tables without.

          PIEBALDconsult wrote:

          At best you could have a written agreement that clearly states what happens when they screw up the system.

          Thats a more common way. At the end of the day, if the database is on your clients server, there is very little you can do to stop them screwing it up, so having a good, watertight, written agreement of responsibilities is probably the best way - if they are fully aware of the consequences then they probably won't.

          Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

          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