Click here to Skip to main content
15,880,503 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Create Asynchronous Web Service in MVC C# Pin
Renuka Garg Phatak6-Mar-18 2:55
Renuka Garg Phatak6-Mar-18 2:55 
QuestionCrystal report page footer problem Pin
Member 1257026328-Feb-18 1:32
Member 1257026328-Feb-18 1:32 
AnswerRe: Crystal report page footer problem Pin
Eddy Vluggen28-Feb-18 1:36
professionalEddy Vluggen28-Feb-18 1:36 
AnswerRe: Crystal report page footer problem Pin
phil.o28-Feb-18 2:54
professionalphil.o28-Feb-18 2:54 
AnswerRe: Crystal report page footer problem Pin
OriginalGriff28-Feb-18 4:06
mveOriginalGriff28-Feb-18 4:06 
AnswerRe: Crystal report page footer problem Pin
The Junior28-Feb-18 8:06
The Junior28-Feb-18 8:06 
AnswerRe: Crystal report page footer problem Pin
Mycroft Holmes28-Feb-18 13:14
professionalMycroft Holmes28-Feb-18 13:14 
QuestionClient 2 Client File Encryption Pin
The Junior27-Feb-18 22:32
The Junior27-Feb-18 22:32 
I need some help with an exercise. We've been asked to create a simple software to simulate GDPR compliance for a fake company that handles patient data.

The exercise itself required us to create:

> A secure database (done, Always Encrypted)
> Secure communication (done, SSL & Reliable Sessions)
> A way to store encrypted data on the server

Not sure how to best proceed with the third part. One client uploads a file, it should be stored encrypted on the server. A second client downloads that file and it should be decrypted.


Our idea was to store the key in two sets. The client software holds one part of the key. The Service holds the second part. After a client has been authenticated it sends a query to say GetKey() when it needs to en/de-crypt a file, using a SerializableSecureString. That string is then directly read into a SecureString on the client.

But I'm not sure if this is the best way to do it. Or, if a better solution would be do Encrypt/Decrypt the files on the server, storing any keys in DPAPI. The downside with that is, if an attacker gets hold of the server, by hacking rdp or something like tha,t it instantly gets hold of all files. If an attacker gets hold of a client machine, it will only get access to that users files and the files he/she can access.


Any ideas would be greatly appreciated.

/Updated for clarity to reduce OT replies. Smile | :)

modified 28-Feb-18 14:07pm.

AnswerRe: Client 2 Client File Encryption Pin
OriginalGriff28-Feb-18 0:45
mveOriginalGriff28-Feb-18 0:45 
GeneralMessage Closed Pin
28-Feb-18 1:11
The Junior28-Feb-18 1:11 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 1:18
professionalEddy Vluggen28-Feb-18 1:18 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 1:37
The Junior28-Feb-18 1:37 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 2:36
professionalEddy Vluggen28-Feb-18 2:36 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 3:05
The Junior28-Feb-18 3:05 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 3:09
professionalEddy Vluggen28-Feb-18 3:09 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 3:14
The Junior28-Feb-18 3:14 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 3:20
professionalEddy Vluggen28-Feb-18 3:20 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 3:24
The Junior28-Feb-18 3:24 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 3:31
professionalEddy Vluggen28-Feb-18 3:31 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 3:39
The Junior28-Feb-18 3:39 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 3:53
professionalEddy Vluggen28-Feb-18 3:53 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 4:08
The Junior28-Feb-18 4:08 
GeneralRe: Client 2 Client File Encryption Pin
Eddy Vluggen28-Feb-18 5:33
professionalEddy Vluggen28-Feb-18 5:33 
GeneralRe: Client 2 Client File Encryption Pin
OriginalGriff28-Feb-18 1:43
mveOriginalGriff28-Feb-18 1:43 
GeneralRe: Client 2 Client File Encryption Pin
The Junior28-Feb-18 1:51
The Junior28-Feb-18 1:51 

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.