Click here to Skip to main content
15,902,784 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: need routines in VB.net Pin
Dave Kreskowiak15-Sep-07 3:09
mveDave Kreskowiak15-Sep-07 3:09 
GeneralRe: need routines in VB.net Pin
Paul Conrad15-Sep-07 6:27
professionalPaul Conrad15-Sep-07 6:27 
GeneralRe: need routines in VB.net Pin
Dave Kreskowiak15-Sep-07 6:39
mveDave Kreskowiak15-Sep-07 6:39 
GeneralRe: need routines in VB.net Pin
Paul Conrad15-Sep-07 9:36
professionalPaul Conrad15-Sep-07 9:36 
QuestionOpening a file with my program Pin
Zaegra14-Sep-07 21:31
Zaegra14-Sep-07 21:31 
AnswerRe: Opening a file with my program Pin
MohammadAmiry14-Sep-07 23:10
MohammadAmiry14-Sep-07 23:10 
QuestionSQL Security for your VB apps Pin
Mark Cabbage14-Sep-07 20:07
Mark Cabbage14-Sep-07 20:07 
AnswerRe: SQL Security for your VB apps Pin
Dave Kreskowiak15-Sep-07 3:05
mveDave Kreskowiak15-Sep-07 3:05 
Mark Cabbage wrote:
Some people say to use the SA password


Did you beat these people about the face and neck for doing something so ridiculously stupid?? Really, why would you give an application GOD rights to the ENTIRE SQL Server??


Mark Cabbage wrote:
I think the SA password idea sounds simplier,


And would get you fired, on the spot, in any real job. Who cares what the advantages are at that point...


Mark Cabbage wrote:
the advantage of being able to limit what data the user gets to


You would normally create several different user accounts in the database that the application uses appropriately. These user accounts would then get various permissions assigned to them in SQL Security, depending on the role of that user. Say there was a user created that was used only look at the data in a couple of tables. This user would get permissions to execute SELECT queries on just those tables. Anything it tried to do would be denied by SQL Server.


Seriously, this is such a big topic, no one, or ten, forums posts is going to cover what your options are, and there is no one option that is best for every situation. Pick up a book on SQL Server and you'll find a couple of chapters on the subject. Pickup a book on SQL Server Security, and you'll find the entire book written on this very subject.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: SQL Security for your VB apps Pin
Mark Cabbage15-Sep-07 4:55
Mark Cabbage15-Sep-07 4:55 
GeneralRe: SQL Security for your VB apps Pin
Dave Kreskowiak15-Sep-07 6:13
mveDave Kreskowiak15-Sep-07 6:13 
GeneralRe: SQL Security for your VB apps Pin
Paul Conrad15-Sep-07 6:25
professionalPaul Conrad15-Sep-07 6:25 
GeneralRe: SQL Security for your VB apps Pin
Dave Kreskowiak15-Sep-07 6:38
mveDave Kreskowiak15-Sep-07 6:38 
GeneralRe: SQL Security for your VB apps Pin
Paul Conrad15-Sep-07 9:37
professionalPaul Conrad15-Sep-07 9:37 
GeneralRe: SQL Security for your VB apps Pin
Dave Kreskowiak15-Sep-07 11:26
mveDave Kreskowiak15-Sep-07 11:26 
GeneralRe: SQL Security for your VB apps Pin
Paul Conrad15-Sep-07 6:24
professionalPaul Conrad15-Sep-07 6:24 
QuestionRemoving items from listview .... problem Pin
RaveRare14-Sep-07 19:55
RaveRare14-Sep-07 19:55 
QuestionNeed help on my Thesis... Pin
Holy Orders14-Sep-07 17:56
Holy Orders14-Sep-07 17:56 
AnswerRe: Need help on my Thesis... Pin
Paul Conrad14-Sep-07 18:57
professionalPaul Conrad14-Sep-07 18:57 
GeneralRe: Need help on my Thesis... Pin
Holy Orders14-Sep-07 19:01
Holy Orders14-Sep-07 19:01 
AnswerRe: Need help on my Thesis... Pin
Paul Conrad14-Sep-07 19:11
professionalPaul Conrad14-Sep-07 19:11 
AnswerRe: Need help on my Thesis... Pin
Dave Kreskowiak15-Sep-07 2:53
mveDave Kreskowiak15-Sep-07 2:53 
GeneralRe: Need help on my Thesis... Pin
Paul Conrad15-Sep-07 3:46
professionalPaul Conrad15-Sep-07 3:46 
GeneralRe: Need help on my Thesis... Pin
Dave Kreskowiak15-Sep-07 6:04
mveDave Kreskowiak15-Sep-07 6:04 
GeneralRe: Need help on my Thesis... Pin
Paul Conrad15-Sep-07 6:23
professionalPaul Conrad15-Sep-07 6:23 
Questionhow to upload the picture file into report file (.rpt) with VB6 and Crystal Report 9.2 Pin
mctramp16814-Sep-07 17:48
mctramp16814-Sep-07 17:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.