secure upload

Discussion in 'ASP .Net Security' started by Roberson Ribeiro, Nov 18, 2005.

  1. 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
    Roberson Ribeiro, Nov 18, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. A.M
    Replies:
    5
    Views:
    5,422
    Teemu Keiski
    Jun 8, 2004
  2. Daniel Malcolm
    Replies:
    0
    Views:
    545
    Daniel Malcolm
    Jan 24, 2005
  3. zdrakec
    Replies:
    1
    Views:
    428
    zdrakec
    Jul 25, 2005
  4. Joe
    Replies:
    5
    Views:
    948
    Steven Cheng[MSFT]
    Dec 13, 2005
  5. verbal kint
    Replies:
    1
    Views:
    541
    Sudsy
    Sep 4, 2004
Loading...

Share This Page