Click here to Skip to main content
15,920,602 members
Home / Discussions / C#
   

C#

 
AnswerRe: ComboBox - Set first display item in dropdown list Pin
--Ian14-Oct-05 10:47
--Ian14-Oct-05 10:47 
Questionprocess security question Pin
devmaximus13-Oct-05 5:00
devmaximus13-Oct-05 5:00 
AnswerRe: process security question Pin
Dave Kreskowiak13-Oct-05 6:47
mveDave Kreskowiak13-Oct-05 6:47 
GeneralRe: process security question Pin
devmaximus13-Oct-05 11:02
devmaximus13-Oct-05 11:02 
QuestionA4 size Richtextbox Pin
AB777113-Oct-05 4:22
AB777113-Oct-05 4:22 
QuestionTerminate Application after a given time of inactivity? Pin
Gulfraz Khan13-Oct-05 4:14
Gulfraz Khan13-Oct-05 4:14 
AnswerRe: Terminate Application after a given time of inactivity? Pin
Luis Alonso Ramos13-Oct-05 17:32
Luis Alonso Ramos13-Oct-05 17:32 
GeneralRe: Terminate Application after a given time of inactivity? Pin
Gulfraz Khan14-Oct-05 0:55
Gulfraz Khan14-Oct-05 0:55 
QuestionCatching application start/close events Pin
Trickster-SWE13-Oct-05 2:58
Trickster-SWE13-Oct-05 2:58 
AnswerRe: Catching application start/close events Pin
XRaheemX13-Oct-05 3:50
XRaheemX13-Oct-05 3:50 
GeneralRe: Catching application start/close events Pin
Trickster-SWE13-Oct-05 4:00
Trickster-SWE13-Oct-05 4:00 
QuestionHow To add/Show icons to the main menu items? Pin
majidbhutta13-Oct-05 2:23
majidbhutta13-Oct-05 2:23 
AnswerRe: How To add/Show icons to the main menu items? Pin
Gulfraz Khan13-Oct-05 2:35
Gulfraz Khan13-Oct-05 2:35 
QuestionDo you know the answer? Pin
Gulfraz Khan13-Oct-05 2:22
Gulfraz Khan13-Oct-05 2:22 
AnswerRe: Do you know the answer? Pin
turbochimp13-Oct-05 20:17
turbochimp13-Oct-05 20:17 
You can do whatever suits your application best, but it's typical in large application settings with lots of users to have all access to the database take place through a small number (or one) login. Doing so has certain administrative benefits as well as performance benefits to the database server (wrt connection pooling, and cacheing commands).

If you're interested in doing declarative security, I would recommend checking out the IPrincipal interface and the classes that inherit from it. If you're writing a WinForms application, you may be able to take advantage of the WindowsPrincipal to leverage your AD security without making a lot of concessions. If that's not an option, you can make your own Principal, and roll your own authentication scheme as well. Either way, the Principal is a built-in authorization structure in .Net.

Best of luck.





The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

QuestionCreate .EXE file Pin
zaboboa13-Oct-05 1:59
zaboboa13-Oct-05 1:59 
AnswerRe: Create .EXE file Pin
Dan Neely13-Oct-05 4:08
Dan Neely13-Oct-05 4:08 
AnswerRe: Create .EXE file Pin
Tom Larsen13-Oct-05 8:39
Tom Larsen13-Oct-05 8:39 
Questionmobile agent implementation Pin
sujeer00912-Oct-05 23:23
sujeer00912-Oct-05 23:23 
QuestionNested Datagrids Pin
Member 124072312-Oct-05 22:46
Member 124072312-Oct-05 22:46 
QuestionLoad Balanced Network Pin
Andre Trollip12-Oct-05 21:26
Andre Trollip12-Oct-05 21:26 
AnswerRe: Load Balanced Network Pin
XRaheemX13-Oct-05 3:54
XRaheemX13-Oct-05 3:54 
AnswerRe: Load Balanced Network Pin
Dave Kreskowiak13-Oct-05 6:25
mveDave Kreskowiak13-Oct-05 6:25 
QuestionTreeView selectedNode problem Pin
ppp00112-Oct-05 21:07
ppp00112-Oct-05 21:07 
AnswerRe: TreeView selectedNode problem Pin
mav.northwind12-Oct-05 23:21
mav.northwind12-Oct-05 23:21 

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.