Results 1 to 13 of 13

Thread: [RESOLVED] Securing an SQL SERVER EXPRESS database

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Resolved [RESOLVED] Securing an SQL SERVER EXPRESS database

    I have an VB.NET app that connects to an SSE 2005 database on local system.

    I must deploy this app to many clients ... I want to know how can I securize the database on each computer

    Thank you

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Securing an SQL SERVER EXPRESS database

    Everyone needs a separate copy of the DB?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Re: Securing an SQL SERVER EXPRESS database

    yes ... everyone has its own copy of database which extends it separately from others

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

    Re: Securing an SQL SERVER EXPRESS database

    That makes no sense. How are you going to synchronize them all?

    Typically and SQL Server database is installed on a network file server, and multiple people have access to the same database.

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Re: Securing an SQL SERVER EXPRESS database

    each client has its own data ... they dont communicate with each other

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Securing an SQL SERVER EXPRESS database

    Ok - that's fine.

    Now explain what you are trying to secure.

    Do you not want them to find the .MDB file? If they have access to their own PC that's kind of hard to avoid.

    Do you not want them to be able to "look" at the data in the .MDB file?

    Exactly what are you trying to secure?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Re: Securing an SQL SERVER EXPRESS database

    Well the bottom line is ...

    If I install the app to a computer ... I dont want someonelse to just copy paste the app and database to another computer ...

    It must not run unless I install it

  8. #8
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Securing an SQL SERVER EXPRESS database

    Do you realize that has nothing to do with SECURING a SQL SERVER DATABASE?

    You are now asking to make sure that you install the app - so that you have some kind of feature in your app to make sure the app is installed by you.

    Are you concerned about the .EXE being copied to another machine?

    Is the database special in some way also - or is the .EXE required to make anything about the database useful anyway?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  9. #9

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Re: Securing an SQL SERVER EXPRESS database

    I see where you're trying to get me ... but ...

    I'm trying to understand if I can make an secure app just from the database not from the installation

    Let me put the question another way ... can I put an password to an database not just to an SQL SERVER instance because at the end not the instance is copyed but the database

  10. #10
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Securing an SQL SERVER EXPRESS database

    You can put some encrypted item in your tables - like encrypt the name of the computer being used - and then your app verifies that value when it starts.

    There are dozens of ways to handle this type of security - but they all have obvious drawbacks. What if the computer crashes and they need to run it on another machine - are you always available to help with install rights like this?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  11. #11

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Re: Securing an SQL SERVER EXPRESS database

    belive me szlamany, for security I am always available ... So please can you redirect me to some examples ... I googled all day and all I got is dynamic publishing from movabletype

  12. #12
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Securing an SQL SERVER EXPRESS database

    Have you seen this thread - from MartinLiss in the code bank?

    http://www.vbforums.com/showthread.php?t=232146

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  13. #13

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    58

    Re: Securing an SQL SERVER EXPRESS database

    thank you szlamany ... I will use that ideea in my project

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