I'm building an application and want it to securely transfer data to a server.
Distribute private key with application?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
I'm building an application and want it to securely transfer data to a server.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Aymen AmriRank #1,022 · 1.9K reputationPosted Oct 31, 2023, 5:55 PM EDT
It depends on the environment and the infrastructure that you will use. The best thing is to use a PKI with a certificate Authority, requests ... but it's generally costly.
There is another way that generates a key for every communication then encapsulate it in a cryptographic message that needs only one certificate (you can generate it using openssl). It's the Cryptographic Message Syntax pkcs7.
https://learn.microsoft.com/en-us/windows/win32/seccrypto/pkcs--7-concepts
Prasad RaveendranRank #320 · 7.8K reputationPosted Oct 31, 2023, 8:37 PM EDT
To securely transfer data from your .NET Core application to a server, you can use various methods and technologies. Here's an approach using HTTPS, which is a common and secure way to communicate between a client and a server.
Prasad RaveendranRank #320 · 7.8K reputationPosted Oct 31, 2023, 8:39 PM EDT
Remember, security is a broad subject, and this is a basic example. It's crucial to understand the specific security requirements of your application, follow best practices, and possibly involve a security professional to assess the overall security of your application.