secure upload

R

Roberson Ribeiro

Hi all

i´d like to make an upload, but i´m not sure how to handle security
settings, on server side i have web.config, IIS and a web application to
receive and save the file, on the other hand on client side i have a simple
windows forms that performe the upload process but i don´t konw which
security settings shold i use and how to.
It´s necessary authenticate client with NetworkCredential?

client code:

System.Net.WebClient wc = new System.Net.WebClient();
wc.Headers.Add("enctype","multipart/form-data");
wc.UploadFile("http://myhost/mywebapp/myfile.aspx", "POST", "myfile.txt");

Thanks

Roberson Ribeiro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top