Encrypting XML header via SoapExtension issues

Discussion in 'ASP .Net Web Services' started by cordata5, Nov 19, 2004.

  1. cordata5

    cordata5 Guest

    Hi all,
    I finally figured out how to utilize the soapextension for
    encrypting portions of my xml file. However I want to encrypt the
    header going from the client web page to the server side web service.
    Unfortunately this only works on the response from the server side web
    service to the web page client. Am I missing something?
    cordata5, Nov 19, 2004
    #1
    1. Advertising

  2. cordata5

    Dan Rogers Guest

    Hi,

    Yes, to encrypt a call at it's point of origination, you need to have the
    web service extension (or equivalent) on the caller side. Going direct
    from a browser (e.g. hand slinging the XML and doing a POST operation) will
    make it tough - but if you are using a rich client, or some binary logic
    such as an activeX control, then you have the opportunity to possibly
    introduce the same type of encryption on the caller side. In general, if
    you can get your client to call a proxy class generated by Add Web
    Reference, then you have the opportunity you need to introduce the code.
    The issue with a direct-from-web-page approach will be getting the
    app.config in the right temporary directory.

    Hope this helps

    Dan Rogers
    Microsoft Corporation
    --------------------
    >From: (cordata5)
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
    >Subject: Encrypting XML header via SoapExtension issues
    >Date: 18 Nov 2004 16:12:19 -0800
    >Organization: http://groups.google.com
    >Lines: 6
    >Message-ID: <>
    >NNTP-Posting-Host: 63.251.233.249
    >Content-Type: text/plain; charset=ISO-8859-1
    >Content-Transfer-Encoding: 8bit
    >X-Trace: posting.google.com 1100823139 23806 127.0.0.1 (19 Nov 2004

    00:12:19 GMT)
    >X-Complaints-To:
    >NNTP-Posting-Date: Fri, 19 Nov 2004 00:12:19 +0000 (UTC)
    >Path:

    cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
    ul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!not-for-mail
    >Xref: cpmsftngxa10.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webservices:26711
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
    >
    >Hi all,
    > I finally figured out how to utilize the soapextension for
    >encrypting portions of my xml file. However I want to encrypt the
    >header going from the client web page to the server side web service.
    >Unfortunately this only works on the response from the server side web
    >service to the web page client. Am I missing something?
    >
    Dan Rogers, Nov 19, 2004
    #2
    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. fred carter

    SoapExtension & Http headers

    fred carter, Apr 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    785
    fred carter
    Apr 2, 2004
  2. mlt
    Replies:
    2
    Views:
    833
    Jean-Marc Bourguet
    Jan 31, 2009
  3. Keith G Hicks
    Replies:
    0
    Views:
    147
    Keith G Hicks
    Apr 5, 2008
  4. Ben

    SoapExtension and header information

    Ben, Nov 11, 2004, in forum: ASP .Net Web Services
    Replies:
    5
    Views:
    187
  5. gilad

    How to Add dynamic header in SoapExtension

    gilad, Mar 19, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    221
    gilad
    Mar 19, 2007
Loading...

Share This Page