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 / February 2005

Tip: Looking for answers? Try searching our database.

How to catch policy exceptions on server side

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ford152 - 17 Feb 2005 16:29 GMT
Does anyone know how to catch a policy exception that is thrown on the server
side from within my web service?  For example, I may want to catch any
PolicyVerificationException exceptions that are thrown by the policy
mechanism so that I can log the event on the server.  This way the admin
knows if someone keeps constantly trying to access the web service in an
insecure fashion.
Dilip Krishnan - 18 Feb 2005 14:51 GMT
Hello Ford152,

 Write a filter for soap faults

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Does anyone know how to catch a policy exception that is thrown on the
> server side from within my web service?  For example, I may want to
> catch any PolicyVerificationException exceptions that are thrown by
> the policy mechanism so that I can log the event on the server.  This
> way the admin knows if someone keeps constantly trying to access the
> web service in an insecure fashion.
John Bristowe - 23 Feb 2005 17:53 GMT
The WSE supports policy tracing through the following configuration element:

/configuration/microsoft.web.services2/policyTrace

Policy tracing allows you to observe enforcement & verification at runtime;
where it succeeded, where it failed, etc. Very, very useful - strongly
recommended.

HTH,

John

> Does anyone know how to catch a policy exception that is thrown on the
> server
[quoted text clipped - 3 lines]
> knows if someone keeps constantly trying to access the web service in an
> insecure fashion.

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.