Click here to Skip to main content
15,919,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to create out website dll in asp.net2.0 Pin
N a v a n e e t h30-Mar-07 18:05
N a v a n e e t h30-Mar-07 18:05 
Questionimport and export in sqlserver 2000 Pin
saravanan0530-Mar-07 3:09
saravanan0530-Mar-07 3:09 
AnswerRe: import and export in sqlserver 2000 Pin
Sathesh Sakthivel30-Mar-07 3:15
Sathesh Sakthivel30-Mar-07 3:15 
Questionhow could i generate master-detail xml by serialization? Pin
Tridip Bhattacharjee30-Mar-07 2:44
professionalTridip Bhattacharjee30-Mar-07 2:44 
QuestionSQL 2005 IIS User Issues Pin
arrian8130-Mar-07 2:31
arrian8130-Mar-07 2:31 
AnswerRe: SQL 2005 IIS User Issues Pin
kubben30-Mar-07 3:23
kubben30-Mar-07 3:23 
GeneralRe: SQL 2005 IIS User Issues Pin
arrian8130-Mar-07 3:29
arrian8130-Mar-07 3:29 
GeneralRe: SQL 2005 IIS User Issues Pin
kubben30-Mar-07 3:37
kubben30-Mar-07 3:37 
That is true that each user has their own Windows account, but for the connection to sql server it uses the app pools identity. I would restrict access to things like insert update and delete in the UI based off authenticating the user. I don't think you want to wait until the user trys to insert a record and then pass back a sql server error. The user should never be able to do the insert to begin with.
Using the app pool's identity for sql access makes it easier to manage as well. You only have to worry about giving one network user rights to stored procedures etc. Did I mention all sql access from a web service should probably be through stored procedures?

Now I would say do not try to manage the web sites sql access with your windows authentcated users, but if you still want to go down that route you can, even though I think it is a bad idea. There is an identity impersonate available in the web.config file, but that means you must use windows authentication and most likely your web app is on your local intranet.

Ben
GeneralRe: SQL 2005 IIS User Issues Pin
arrian8130-Mar-07 6:36
arrian8130-Mar-07 6:36 
QuestionExcel in browser Pin
Olleess30-Mar-07 2:26
Olleess30-Mar-07 2:26 
AnswerRe: Excel in browser Pin
andyharman30-Mar-07 2:38
professionalandyharman30-Mar-07 2:38 
Questionproblem with asptable Pin
Rajeshcross30-Mar-07 2:20
Rajeshcross30-Mar-07 2:20 
AnswerRe: problem with asptable Pin
Sandeep Akhare30-Mar-07 6:06
Sandeep Akhare30-Mar-07 6:06 
Questionmultilingual pages in asp.net Pin
biaali30-Mar-07 2:18
biaali30-Mar-07 2:18 
QuestionIn which situations we use 2 Databases. Pin
siddisagar30-Mar-07 1:56
siddisagar30-Mar-07 1:56 
AnswerRe: In which situations we use 2 Databases. Pin
kubben30-Mar-07 2:14
kubben30-Mar-07 2:14 
Questiongetting session's value from window's history Pin
yogita charhate30-Mar-07 1:32
yogita charhate30-Mar-07 1:32 
AnswerRe: getting session's value from window's history Pin
Sathesh Sakthivel30-Mar-07 3:30
Sathesh Sakthivel30-Mar-07 3:30 
QuestionHow to apply validator for nested datagrid [modified] Pin
swapnilbhavsar30-Mar-07 1:26
swapnilbhavsar30-Mar-07 1:26 
QuestionHow to send information from popup window??? Pin
ha_haseebahmad30-Mar-07 1:18
ha_haseebahmad30-Mar-07 1:18 
AnswerRe: How to send information from popup window??? Pin
enjoycrack30-Mar-07 15:12
enjoycrack30-Mar-07 15:12 
GeneralRe: How to send information from popup window??? Pin
ha_haseebahmad30-Mar-07 18:14
ha_haseebahmad30-Mar-07 18:14 
GeneralRe: How to send information from popup window??? Pin
enjoycrack30-Mar-07 18:18
enjoycrack30-Mar-07 18:18 
Question[C # Asp.Net Control in Anthem ] Pin
samshah51230-Mar-07 0:49
samshah51230-Mar-07 0:49 
AnswerRe: [C # Asp.Net Control in Anthem ] Pin
samshah5121-Apr-07 19:36
samshah5121-Apr-07 19:36 

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.