Encryption happens if https (ssl) is used. Compression is optional and requires configuring IIS.
https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpcompression/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is compression and encryption mandatory when sending files over the network using ASP.NET, or does the ASP.NET web service handle these tasks by default?
Encryption happens if https (ssl) is used. Compression is optional and requires configuring IIS.
https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpcompression/
Hi @winmantest,
Is compression and encryption mandatory when sending files over the network using ASP.NET, or does the ASP.NET web service handle these tasks by default?
No, it depends on your choice.
If you want to ensure your files are encrypted over the network, you may want to use https and look into securing your application with TLS using certificates.
https://learn.microsoft.com/en-us/iis/manage/configuring-security/how-to-set-up-ssl-on-iis
You can use IIS compression.
https://learn.microsoft.com/en-us/iis/extensions/iis-compression/iis-compression-overview
If you want to encrypt the file once you receive it, there are ways to do it, but how to do it depends on the situation.
You can also do it via code.
https://learn.microsoft.com/en-us/dotnet/standard/security/encrypting-data
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread