Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Generating Excel reports by using .Net Pin
Urs Enzler19-Sep-07 22:04
Urs Enzler19-Sep-07 22:04 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 22:45
Charith Jayasundara19-Sep-07 22:45 
AnswerRe: Generating Excel reports by using .Net Pin
eoe19-Sep-07 22:17
eoe19-Sep-07 22:17 
QuestionHow to get now month? Pin
somsakchoto19-Sep-07 19:29
somsakchoto19-Sep-07 19:29 
AnswerRe: How to get now month? Pin
JoeSharp19-Sep-07 19:34
JoeSharp19-Sep-07 19:34 
QuestionSearching a Record Pin
Imranlogi19-Sep-07 19:22
Imranlogi19-Sep-07 19:22 
AnswerRe: Searching a Record Pin
lost in transition 20-Sep-07 11:36
lost in transition 20-Sep-07 11:36 
QuestionPass-Thru Authentication Pin
classNoob19-Sep-07 14:17
classNoob19-Sep-07 14:17 
I have come up with an authentication scheme that I wanted to run past everyone to see if you all agree with my logic. Here is the process:

1) The clients windows login credentials are automatically passed (manual option also provided) with the webservice call using:

WebService.Credentials = System.Net.CredentialCache.DefaultCredentials

2) The web.config is set to impersonate the user.

3) At this point I thought I could assume that the client is who they say they are since the user was able to log in to IIS. My plan is to use the username and SID to retrieve the information for that user as opposed to the traditional username and password scenario.

4) If the user's SID is ever out of sync I will provide the admin a sync option. Basically the same option I would have given them when they set up the user.

Unsure | :~ I guess I am worried about two things. Can I rely on these SID's as long as the user is not recreated in the domain and hopefully I can store the SID's in a database. I am not sure how "variable" in length these SID's can be. If I stored it in a character field at 255 will I be safe?
QuestionWorking with a strange data type Pin
Klazen19-Sep-07 13:04
Klazen19-Sep-07 13:04 
AnswerRe: Working with a strange data type [modified] Pin
ChrisKo19-Sep-07 13:45
ChrisKo19-Sep-07 13:45 
GeneralRe: Working with a strange data type Pin
Klazen19-Sep-07 15:37
Klazen19-Sep-07 15:37 
QuestionMessages to a hidden window? Pin
hauptmatter19-Sep-07 12:15
hauptmatter19-Sep-07 12:15 
AnswerRe: Messages to a hidden window? Pin
mav.northwind19-Sep-07 19:13
mav.northwind19-Sep-07 19:13 
QuestionReportDocument and printtoprinter Pin
Saamir19-Sep-07 11:10
Saamir19-Sep-07 11:10 
QuestionClean up while Session State is set to SQLServer Pin
f_coy19-Sep-07 10:16
f_coy19-Sep-07 10:16 
QuestionPerformance question when generating a large batch file Pin
Dan Neely19-Sep-07 8:52
Dan Neely19-Sep-07 8:52 
AnswerRe: Performance question when generating a large batch file Pin
Dave Kreskowiak19-Sep-07 8:58
mveDave Kreskowiak19-Sep-07 8:58 
GeneralRe: Performance question when generating a large batch file Pin
Luc Pattyn19-Sep-07 9:49
sitebuilderLuc Pattyn19-Sep-07 9:49 
GeneralRe: Performance question when generating a large batch file Pin
Dave Kreskowiak19-Sep-07 10:03
mveDave Kreskowiak19-Sep-07 10:03 
GeneralRe: Performance question when generating a large batch file Pin
Dan Neely19-Sep-07 11:06
Dan Neely19-Sep-07 11:06 
GeneralRe: Performance question when generating a large batch file Pin
Luc Pattyn19-Sep-07 11:18
sitebuilderLuc Pattyn19-Sep-07 11:18 
QuestionPages file attribute. Pin
Lord_Veralix19-Sep-07 7:43
Lord_Veralix19-Sep-07 7:43 
AnswerRe: Pages file attribute. Pin
Dave Kreskowiak19-Sep-07 8:52
mveDave Kreskowiak19-Sep-07 8:52 
QuestionRe: Pages file attribute. Pin
Lord_Veralix19-Sep-07 9:25
Lord_Veralix19-Sep-07 9:25 
AnswerRe: Pages file attribute. Pin
Dave Kreskowiak19-Sep-07 10:05
mveDave Kreskowiak19-Sep-07 10:05 

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.