Hi,
hmm, no. You do not need to use WSE at all, WSE is only useful when you need
to use some WS-* spec such as WS-Security to secure messages (Encrypt and
Sign) or use WS-Addressing.
In your case, you only need to perform authentication and authorization, and
that can be done as you did (Using Windows security).
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> Hmm I found some code on MSDN that does it at a programmatic level:
>
[quoted text clipped - 37 lines]
>> P.S I am probably grossly missing a concept so I was wanting some
>> guidance.
Howard Hoffman - 21 Jul 2006 21:19 GMT
Another option is based on ASMX authorization in ASP.NET. Say you have
services A, B and C surfaced by pages A.asmx, B.asmx and C.asmx
respectively. You can use the <location path="A.asmx"> construct like so:
<location path="A.asmx">
<authorization >
<allow roles=".\ServiceACallers"/>
<deny users="*" />
</authorization>
</location>
etc.
where you populate ".\ServiceACallers" (local machine group named
ServiceACallers) with who you want to be able to call the service. The nice
thing about this pattern is that its configuration driven, not hard-coded.
The AuthorizationAssertion is going to be looking not at
HttpContext.Current.User, but instead at the Soap Envelope credentials -- so
they have to be populated correctly via a client side security assertion
(such as Kerberos or UsernameToken).
Any of the approaches we've enumerated works.
HTH,
Howard Hoffman
> Hi,
>
[quoted text clipped - 49 lines]
>>> P.S I am probably grossly missing a concept so I was wanting some
>>> guidance.