Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2005

Tip: Looking for answers? Try searching our database.

[Policy("ServerPolicy")]

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BenW - 04 Jul 2005 21:31 GMT
I see this attribute is applied at the class level.  Is there a mechanism to
apply security policy at the method level to give a more granular way of
determining who has access to what methods.

I had a look through the samples and did not see this.

Any sample code or examples would be great.

Thanks in advance.

BenW
Hernan de Lahitte - 05 Jul 2005 02:07 GMT
The current tech preview of WSE 3.0 only has policy scope at the
class/endpoint level. If you need to specifiy different security
requirements for each web method, you might build a custom security
assertion. Perhaps a good example on how to do this may be the WS-I BSP
Sample Application
(http://msdn.microsoft.com/practices/default.aspx?pull=/library/en-us/dnpag2/html
/MSWSIBSP.asp
)

If you look for the WSE 3.0 alpha version here:
http://practices.gotdotnet.com/workspace.aspx?id=0fecd2c7-b2b1-4d85-bd66-9d07a6ecbd86

You will find a custom assertion (customX509security) that handles this
issue.
Look for the requestAction attribute in the protection element of the
wse3policyCache.config file in
"Services\RetailerApplication\RetailerService\Configuration" folder.

Signature

Hernan de Lahitte
http://clariusconsulting.net/hdl

>I see this attribute is applied at the class level.  Is there a mechanism
>to
[quoted text clipped - 8 lines]
>
> BenW

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.