Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
GeneralRe: passing values between 2 Forms Pin
Moham'd30-Dec-06 3:15
Moham'd30-Dec-06 3:15 
QuestionMdiForm Pin
md_refay27-Dec-06 11:15
md_refay27-Dec-06 11:15 
AnswerRe: MdiForm Pin
Mairaaj Khan28-Dec-06 1:12
professionalMairaaj Khan28-Dec-06 1:12 
Questionfrom vb.net to C# Pin
microuser_200027-Dec-06 11:09
microuser_200027-Dec-06 11:09 
AnswerRe: from vb.net to C# Pin
Colin Angus Mackay27-Dec-06 12:08
Colin Angus Mackay27-Dec-06 12:08 
GeneralRe: from vb.net to C# Pin
microuser_200030-Dec-06 4:19
microuser_200030-Dec-06 4:19 
GeneralRe: from vb.net to C# Pin
Colin Angus Mackay30-Dec-06 7:22
Colin Angus Mackay30-Dec-06 7:22 
QuestionEncrypting files & usernames/passwords - What are the normal practises? Pin
Cormac M Redmond27-Dec-06 9:26
Cormac M Redmond27-Dec-06 9:26 
Hi,

I'm building an app in C#. I won't bore you with the details, but basically I have two security questions. Any help would be much appreciated!

1. I will be saving files on a external server. I would like to encrypt the files before sending them. Different 'users' will be using this app. What are the best practices regarding C# to encrypt files? Public/Private key encryption? Where would I store the keys...in the registry? I'm well versed with regards the cryptography in theory, but do not have much experience in practise. What API's....where? Etc, etc...Any ideas?..


2. The application be will be using a third-party service, which requires a username/password. I suppose this username and password will be kept on a database somewhere, and the app will retrieve it. What are normal practises for this kind of thing? Store it on a database on server, and have the application request it? Should it be plain-text or encrypted? If so, how so? Remember, the idea is that users of the app can use this service, but should never know the username/password.

There's just a huge amount around on encryption, etc - but no real 'this is the right right way' methods. Any help appreciated.

By the way, this is for a fictitious company, so don't worry - this won't be a security risk!


Regards,

Cormac Redmond
AnswerRe: Encrypting files & usernames/passwords - What are the normal practises? [modified] Pin
Judah Gabriel Himango27-Dec-06 10:09
sponsorJudah Gabriel Himango27-Dec-06 10:09 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Dan Neely27-Dec-06 10:41
Dan Neely27-Dec-06 10:41 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Judah Gabriel Himango27-Dec-06 11:15
sponsorJudah Gabriel Himango27-Dec-06 11:15 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Cormac M Redmond27-Dec-06 11:24
Cormac M Redmond27-Dec-06 11:24 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Judah Gabriel Himango27-Dec-06 16:15
sponsorJudah Gabriel Himango27-Dec-06 16:15 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Cormac M Redmond27-Dec-06 18:30
Cormac M Redmond27-Dec-06 18:30 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Cormac M Redmond27-Dec-06 11:23
Cormac M Redmond27-Dec-06 11:23 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Judah Gabriel Himango27-Dec-06 16:27
sponsorJudah Gabriel Himango27-Dec-06 16:27 
GeneralRe: Encrypting files & usernames/passwords - What are the normal practises? Pin
Cormac M Redmond27-Dec-06 18:28
Cormac M Redmond27-Dec-06 18:28 
QuestionHow to persist collection entries added or removed by the CollectionEditor, when returning from a CollectionEditor????? Pin
Dinesh Jayadevan27-Dec-06 9:21
Dinesh Jayadevan27-Dec-06 9:21 
QuestionC# and Excel 2000 [modified] Pin
73Zeppelin27-Dec-06 8:08
73Zeppelin27-Dec-06 8:08 
AnswerRe: C# and Excel 2000 Pin
Judah Gabriel Himango27-Dec-06 10:11
sponsorJudah Gabriel Himango27-Dec-06 10:11 
GeneralRe: C# and Excel 2000 Pin
73Zeppelin27-Dec-06 10:15
73Zeppelin27-Dec-06 10:15 
GeneralRe: C# and Excel 2000 Pin
73Zeppelin27-Dec-06 10:49
73Zeppelin27-Dec-06 10:49 
QuestionInstalling a C# application programmatically … Pin
Xaverian27-Dec-06 5:47
Xaverian27-Dec-06 5:47 
AnswerRe: Installing a C# application programmatically … Pin
Nader Elshehabi27-Dec-06 6:50
Nader Elshehabi27-Dec-06 6:50 
GeneralRe: Installing a C# application programmatically … Pin
Xaverian27-Dec-06 6:52
Xaverian27-Dec-06 6:52 

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.