Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
GeneralRe: ASP.Net Identity with EF tier'd architecture Pin
Nico Haslberger7-May-14 10:55
Nico Haslberger7-May-14 10:55 
GeneralRe: ASP.Net Identity with EF tier'd architecture Pin
Simon Lee Shugar7-May-14 10:58
Simon Lee Shugar7-May-14 10:58 
GeneralRe: ASP.Net Identity with EF tier'd architecture Pin
Nico Haslberger7-May-14 11:59
Nico Haslberger7-May-14 11:59 
QuestionWhere should I store credentials Pin
Nico Haslberger7-May-14 9:55
Nico Haslberger7-May-14 9:55 
SuggestionRe: Where should I store credentials Pin
Deepanshu Goel7-May-14 19:43
professionalDeepanshu Goel7-May-14 19:43 
GeneralRe: Where should I store credentials Pin
Peter_in_27807-May-14 21:11
professionalPeter_in_27807-May-14 21:11 
GeneralRe: Where should I store credentials Pin
Nico Haslberger7-May-14 22:18
Nico Haslberger7-May-14 22:18 
AnswerRe: Where should I store credentials Pin
Bernhard Hiller7-May-14 20:52
Bernhard Hiller7-May-14 20:52 
I guess it is your application which tries to communicate with the SMTP server.
Hence the application must be able to retireve the clear text password when connecting to the server. Consequently, you cannot hash the password, but you must encrypt it. This also adds the question of how to store the key and the salt value.
Next question is: who configures your application? Is it the "user" who enters his personal SMTP credentials or is it an administrator of the user's company who does so (and applies the same configuration to all installations of the application in the company)? Depending on the answer, you may use a user-specific settings file, a program specific settings file, the *.exe.config file, store data in a database, etc...
Also note that the .exe.config file contains a connectionStrings section, which can be "automatically" encrypted and also used for this purpose.
GeneralRe: Where should I store credentials Pin
Nico Haslberger7-May-14 22:23
Nico Haslberger7-May-14 22:23 
GeneralRe: Where should I store credentials Pin
Bernhard Hiller8-May-14 0:21
Bernhard Hiller8-May-14 0:21 
AnswerRe: Where should I store credentials Pin
ianderf8-May-14 10:33
ianderf8-May-14 10:33 
GeneralRe: Where should I store credentials Pin
Nico Haslberger11-May-14 9:57
Nico Haslberger11-May-14 9:57 
GeneralRe: Where should I store credentials Pin
ianderf11-May-14 16:21
ianderf11-May-14 16:21 
GeneralRe: Where should I store credentials Pin
Matty2218-May-14 18:20
Matty2218-May-14 18:20 
QuestionReferencing dll locations Pin
Blubbo7-May-14 5:28
Blubbo7-May-14 5:28 
AnswerRe: Referencing dll locations Pin
Pete O'Hanlon7-May-14 5:51
mvePete O'Hanlon7-May-14 5:51 
GeneralRe: Referencing dll locations Pin
Blubbo7-May-14 6:36
Blubbo7-May-14 6:36 
SuggestionRe: Referencing dll locations Pin
Matt T Heffron7-May-14 7:12
professionalMatt T Heffron7-May-14 7:12 
GeneralRe: Referencing dll locations Pin
Blubbo7-May-14 7:30
Blubbo7-May-14 7:30 
GeneralRe: Referencing dll locations Pin
Pete O'Hanlon7-May-14 7:55
mvePete O'Hanlon7-May-14 7:55 
AnswerRe: Referencing dll locations Pin
Matt T Heffron7-May-14 7:57
professionalMatt T Heffron7-May-14 7:57 
GeneralRe: Referencing dll locations Pin
Blubbo7-May-14 7:59
Blubbo7-May-14 7:59 
GeneralRe: Referencing dll locations Pin
MichCl7-May-14 9:05
MichCl7-May-14 9:05 
QuestionWord automation headers and footers Pin
GinoPittaro19646-May-14 23:41
GinoPittaro19646-May-14 23:41 
AnswerRe: Word automation headers and footers Pin
OriginalGriff7-May-14 2:01
mveOriginalGriff7-May-14 2:01 

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.