Windows Vista Forums

Pass security context in WCF

  1. #1


    =?Utf-8?B?RGVlcHM=?= Guest

    Pass security context in WCF

    I want to pass the security context informations which consists more than
    username password atleast 5 parameters.



    With initial version of web services we were plannning to this over using
    SOAP Headers. Is there something available in WCF to pass te security context
    information from web application to web services?
      My System SpecsSystem Spec

  2. #2


    Arkady Frenkel Guest

    Re: Pass security context in WCF

    Only basicHttpBinding have no message/transport security by default, all
    other do have or message or transport security , so
    use wsHttpBinding ( message security is on by default ) and you can check
    that your data send encrypted
    Arkady

    "Deeps" <Deeps@discussions.microsoft.com> wrote in message
    news:B8148C03-8F54-444F-AE5E-98BFC8BA296D@microsoft.com...
    >I want to pass the security context informations which consists more than
    > username password atleast 5 parameters.
    >
    > With initial version of web services we were plannning to this over using
    > SOAP Headers. Is there something available in WCF to pass te security
    > context
    > information from web application to web services?



      My System SpecsSystem Spec

  3. #3


    =?Utf-8?B?RGVlcHM=?= Guest

    Re: Pass security context in WCF

    Hey,
    May be I was not clear in my question, what I meant was I want to pass user
    credentials from web applictaion to web service.

    My credentials need to have user name, password, user logged in at which
    level based on which I can get the role and permissions for that user and
    execute the further requests from the user.The ClientCredential class allows
    only the user name and password to be passed over to web service, is there
    any other way with which I can pass this information to web service in WCF?



    "Arkady Frenkel" wrote:

    > Only basicHttpBinding have no message/transport security by default, all
    > other do have or message or transport security , so
    > use wsHttpBinding ( message security is on by default ) and you can check
    > that your data send encrypted
    > Arkady
    >
    > "Deeps" <Deeps@discussions.microsoft.com> wrote in message
    > news:B8148C03-8F54-444F-AE5E-98BFC8BA296D@microsoft.com...
    > >I want to pass the security context informations which consists more than
    > > username password atleast 5 parameters.
    > >
    > > With initial version of web services we were plannning to this over using
    > > SOAP Headers. Is there something available in WCF to pass te security
    > > context
    > > information from web application to web services?

    >
    >
    >

      My System SpecsSystem Spec

  4. #4


    Arkady Frenkel Guest

    Re: Pass security context in WCF

    Why not just send that data as parameter to some service function and it
    will use it in advance, like
    PrincipalPermission class use "role" in addition, which can be received by
    service from function e.g. GetRole()

    Arkady


    "Deeps" <Deeps@discussions.microsoft.com> wrote in message
    news:099CDC5A-DF3E-4F27-B153-7D38F86305F1@microsoft.com...
    > Hey,
    > May be I was not clear in my question, what I meant was I want to pass
    > user
    > credentials from web applictaion to web service.
    >
    > My credentials need to have user name, password, user logged in at which
    > level based on which I can get the role and permissions for that user and
    > execute the further requests from the user.The ClientCredential class
    > allows
    > only the user name and password to be passed over to web service, is there
    > any other way with which I can pass this information to web service in
    > WCF?
    >
    >
    >
    > "Arkady Frenkel" wrote:
    >
    >> Only basicHttpBinding have no message/transport security by default, all
    >> other do have or message or transport security , so
    >> use wsHttpBinding ( message security is on by default ) and you can check
    >> that your data send encrypted
    >> Arkady
    >>
    >> "Deeps" <Deeps@discussions.microsoft.com> wrote in message
    >> news:B8148C03-8F54-444F-AE5E-98BFC8BA296D@microsoft.com...
    >> >I want to pass the security context informations which consists more
    >> >than
    >> > username password atleast 5 parameters.
    >> >
    >> > With initial version of web services we were plannning to this over
    >> > using
    >> > SOAP Headers. Is there something available in WCF to pass te security
    >> > context
    >> > information from web application to web services?

    >>
    >>
    >>



      My System SpecsSystem Spec

Pass security context in WCF

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Essentials - Adding New Entry To the Context Menu Martee System Security 2 24 Oct 2009
By Pass UAC for some old programs Superman Vista security 4 23 Jun 2008
pass security popup windows quy nguyen Vista General 1 26 Dec 2007
Security Matters — Microsoft 2006 Security Summits Provide Security Training for Detroit Businesses z3r010 Vista News 0 26 Jun 2006
Security Matters — Microsoft 2006 Security Summits Provide Security Training for Detroit Businesses z3r010 Vista News 0 26 Jun 2006