Click here to Skip to main content
15,905,874 members
Home / Discussions / Database
   

Database

 
GeneralRe: If I use XSD.exe I get Pin
Ashley van Gerven17-Jul-06 4:43
Ashley van Gerven17-Jul-06 4:43 
GeneralThats what I think Pin
Ennis Ray Lynch, Jr.17-Jul-06 4:45
Ennis Ray Lynch, Jr.17-Jul-06 4:45 
QuestionQuery to Transfer Data? Pin
MudkiSekhon17-Jul-06 1:06
MudkiSekhon17-Jul-06 1:06 
AnswerRe: Query to Transfer Data? Pin
Colin Angus Mackay17-Jul-06 1:28
Colin Angus Mackay17-Jul-06 1:28 
QuestionAdditonal Data for SQL Server Login/User Pin
dobrzan16-Jul-06 21:51
dobrzan16-Jul-06 21:51 
AnswerRe: Additonal Data for SQL Server Login/User Pin
Colin Angus Mackay16-Jul-06 23:05
Colin Angus Mackay16-Jul-06 23:05 
GeneralRe: Additonal Data for SQL Server Login/User Pin
dobrzan17-Jul-06 4:09
dobrzan17-Jul-06 4:09 
GeneralRe: Additonal Data for SQL Server Login/User Pin
Colin Angus Mackay17-Jul-06 5:22
Colin Angus Mackay17-Jul-06 5:22 
Since all this will be done through an application* you let the business logic in the application (or in stored procedures) filter the data returned to the user of the application.


dobrzan wrote:
but I want to create secure app - based on SQL Server Login authentication.


Current advice is not to use SQL Server Authentication unless you are connecting it to systems that are not windows based. You should be using trusted connections with Windows Authentication. What you are suggesting is less likely to secure your system because your users will have some direct access to your SQL Server (even if they don't know it). This access can be used by an attacker to compromise your system. All an attacker needs is an account to your application and you automatically give them an account to the datbase.

If you have a web application, it will probably try to connect to SQL Server using the ASPNET account if you let it use a trusted connection. Let it do that. Create your own user tables to handle the users of your application. Do not use the sysusers table in SQL Server, it is not designed for that purpose.

you are not going to give your customers direct logins to your SQL Server as that would be nuts - Imagine if Code Project added a login in its SQL Server for each of its 3million+ members - it also screws with connection pooling making it very inefficient


Scottish Developers events:
* .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy
* Developer Day Scotland: are you interested in speaking or attending?

My: Website | Blog
GeneralRe: Additonal Data for SQL Server Login/User Pin
dobrzan17-Jul-06 20:47
dobrzan17-Jul-06 20:47 
GeneralRe: Additonal Data for SQL Server Login/User Pin
Colin Angus Mackay17-Jul-06 22:18
Colin Angus Mackay17-Jul-06 22:18 
QuestionHow to convert diagrams to SqlServer 2005? Pin
Reza Raad16-Jul-06 21:46
Reza Raad16-Jul-06 21:46 
AnswerRe: How to convert diagrams to SqlServer 2005? Pin
Colin Angus Mackay16-Jul-06 23:01
Colin Angus Mackay16-Jul-06 23:01 
GeneralRe: How to convert diagrams to SqlServer 2005? Pin
Reza Raad17-Jul-06 0:03
Reza Raad17-Jul-06 0:03 
QuestionWhy can't use 2 DataReader with same connection Pin
Heinz_16-Jul-06 21:41
Heinz_16-Jul-06 21:41 
AnswerRe: Why can't use 2 DataReader with same connection Pin
Colin Angus Mackay16-Jul-06 23:00
Colin Angus Mackay16-Jul-06 23:00 
GeneralRe: Why can't use 2 DataReader with same connection Pin
Heinz_17-Jul-06 9:26
Heinz_17-Jul-06 9:26 
GeneralRe: Why can't use 2 DataReader with same connection Pin
Colin Angus Mackay17-Jul-06 9:32
Colin Angus Mackay17-Jul-06 9:32 
GeneralTo clarify Pin
Ennis Ray Lynch, Jr.17-Jul-06 9:37
Ennis Ray Lynch, Jr.17-Jul-06 9:37 
GeneralRe: To clarify Pin
Colin Angus Mackay17-Jul-06 11:01
Colin Angus Mackay17-Jul-06 11:01 
GeneralRe: To clarify [modified] Pin
Heinz_18-Jul-06 8:25
Heinz_18-Jul-06 8:25 
GeneralRe: To clarify Pin
Colin Angus Mackay18-Jul-06 12:31
Colin Angus Mackay18-Jul-06 12:31 
GeneralRe: To clarify Pin
Heinz_18-Jul-06 13:59
Heinz_18-Jul-06 13:59 
AnswerRe: Why can't use 2 DataReader with same connection Pin
sampathkumarg19-Jul-06 8:34
sampathkumarg19-Jul-06 8:34 
QuestionSave Changes Pin
slSoftware16-Jul-06 21:25
slSoftware16-Jul-06 21:25 
AnswerRe: Save Changes Pin
Colin Angus Mackay16-Jul-06 22:58
Colin Angus Mackay16-Jul-06 22:58 

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.