<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XML Web Services</title><link>http://forums.asp.net/28.aspx</link><description>All about building XML Web Services with ASP.NET - SOAP, WSDL, WCF, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=66&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275723.aspx</link><pubDate>Mon, 06 Jul 2009 00:56:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275723</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275723.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275723</wfw:commentRss><description>&lt;p&gt;Ok. Here&amp;#39;s the thing you have to be clear about. There&amp;#39;s nothing you can do to prevent people from creating a client. All you can do is prevent their client from working. When you say you want to prevent them from creating a client, it just confuses things because it makes no sense.&lt;/p&gt;&lt;p&gt;See the &lt;a href="http://msdn.microsoft.com/wcf/"&gt;WCF Developer Center&lt;/a&gt; on MSDN for a lot of good information, including the &lt;a href="http://msdn.microsoft.com/en-us/netframework/dd939784.aspx"&gt;Beginner&amp;#39;s Guide to Windows Communication Foundation&lt;/a&gt;. Also, see &lt;a href="http://msdn.microsoft.com/en-us/library/ms732362.aspx"&gt;Windows Communication Foundation Security&lt;/a&gt;, &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl06" href="http://msdn.microsoft.com/en-us/library/ms733082.aspx"&gt;Authentication&lt;/a&gt;, and &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl07" href="http://msdn.microsoft.com/en-us/library/ms733071.aspx"&gt;Authorization&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275705.aspx</link><pubDate>Mon, 06 Jul 2009 00:11:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275705</guid><dc:creator>usplimpatt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275705.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275705</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;johnwsaunders3:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;What if theY wrote a client, but when their client called the service, the service returned an error because it didn&amp;#39;t know who they were, or knew, but didn&amp;#39;t permit them?&lt;/p&gt;
&lt;p&gt;That&amp;#39;s called authentication and authorization, and that&amp;#39;s what you want. You do not want to prevent people from writing clients,&amp;nbsp; you want to prevent their clients from ever working if they are either not identified, or are identified, but not permitted.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply. authentication and authorization is exactly&amp;nbsp;where i am having the issue. &lt;br /&gt;Trying to prevent&amp;nbsp;not identified or&amp;nbsp;not permitted users/developers to implement client and if they did,&amp;nbsp;throw error&amp;nbsp;is my original goal. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275696.aspx</link><pubDate>Sun, 05 Jul 2009 23:38:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275696</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275696.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275696</wfw:commentRss><description>&lt;p&gt;In the future, would you please use a better subject than &amp;quot;WCF Help&amp;quot;? &lt;/p&gt;&lt;p&gt;Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275694.aspx</link><pubDate>Sun, 05 Jul 2009 23:37:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275694</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275694.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275694</wfw:commentRss><description>&lt;p&gt;What if the wrote a client, but when their client called the service, the service returned an error because it didn&amp;#39;t know who they were, or knew, but didn&amp;#39;t permit them?&lt;/p&gt;&lt;p&gt;That&amp;#39;s called authentication and authorization, and that&amp;#39;s what you want. You do not want to prevent people from writing clients,&amp;nbsp; you want to prevent their clients from ever working if they are either not identified, or are identified, but not permitted.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275371.aspx</link><pubDate>Sun, 05 Jul 2009 13:10:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275371</guid><dc:creator>usplimpatt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275371.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275371</wfw:commentRss><description>&lt;p&gt;Thanks for your reply Anup. I already tried what you suggested. &lt;br /&gt;Problems is , since the WCF service and Web Application are in seperate domain, Users given role from Client Web application&amp;nbsp;is not&amp;nbsp;visible to WCF Service.&lt;br /&gt;---------------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PrincipalPermission(SecurityAction.Demand, Role = &amp;quot;Admin&amp;quot;)]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Employee[] GetEmployeeInfo(string empId)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // return data...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;-------------&lt;br /&gt;Client error.&lt;/p&gt;
&lt;p&gt;Access is denied.&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275090.aspx</link><pubDate>Sun, 05 Jul 2009 04:17:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275090</guid><dc:creator>anup1252000</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275090.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275090</wfw:commentRss><description>&lt;p&gt;just imagine that u want to authorise to role called members.. u can do so by using&lt;/p&gt;&lt;p&gt;[PrincipalPermission(SecurityAction.Demand,Role=&amp;quot;members&amp;quot;)].. write this line of code above operationcontract.. this wil take care of everything...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275085.aspx</link><pubDate>Sun, 05 Jul 2009 03:55:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275085</guid><dc:creator>usplimpatt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275085.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275085</wfw:commentRss><description>&lt;p&gt;Some of the methods exposed through WCF Services returns data that should only be accessed by certain user or roles. &lt;br /&gt;My current setup allows anyone to implement client and view data just by having the endpoint information. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WCF Help</title><link>http://forums.asp.net/thread/3275052.aspx</link><pubDate>Sun, 05 Jul 2009 02:20:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275052</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275052.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275052</wfw:commentRss><description>&lt;p&gt;Why do you care if they write a client, as long as the client can&amp;#39;t run?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WCF Help</title><link>http://forums.asp.net/thread/3274942.aspx</link><pubDate>Sat, 04 Jul 2009 20:01:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274942</guid><dc:creator>usplimpatt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274942.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3274942</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have couple of WCF services and seperate web application that utilize methods exposed from WCF Services.&lt;/p&gt;
&lt;p&gt;Web application is secured with LDAP authentication and custom roles.&lt;/p&gt;
&lt;p&gt;WCF services is hosted in IIS in different server and has no security except default windows authentication &lt;/p&gt;
&lt;p&gt;Now my problem is , even though the web application is secured, anyone within the company can write client for WCF services.&lt;/p&gt;
&lt;p&gt;How can i secure my WCF Service so that only i or those i authorize can implement client.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>