COM+ Method level security problem



Hello,

I'm trying to use COM+, method level security...

Have a vb.net dll class that inhertis from servicedcomponent, has
strong name, TLB, registered in GAC and COM+. Have applied
ComponentAccessControl(), SecureMethod() to class level and
SecurityRole to specific methods I want to allow acess to given
roles...am getting error:

Method-level role based security requires an interface definition for
class method.

I am new to COM+ - have used MTS in the past but am starting to wonder
if I should be using web services instead, or .net remoting...but have
had read conflicting reports on all of these? and can't seem to find
ANY helpful information regarding this error....

any comment or help will be much appreciated.

Thanks,
Brenodn.
.



Relevant Pages

  • Re: COM+ Method level security problem
    ... Plost post an extraction of the class to see how exactly you use the ... Enterprise Services ... > I'm trying to use COM+, method level security... ...
    (microsoft.public.dotnet.framework.component_services)
  • Re: Web part problem with Web service data
    ... When you deploy the component into the GAC, you will also need to add one line in the web.config file to skip the security checking on this ... Please open the web.config file from your SPS site root directory and add the <safecontrol> line below into the web.config file (within the tag ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Using GAC from a Web Service
    ... change security requirements or privilege, ... trivial for a bad guy to deploy an evil component into the GAC. ... My Web Service has to open an OleDbConnection ... permissions problems in IIS 6, and I am trying to remedy the situation by ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • COM+ Role Based Security - calling secure method 1 from secure method 2
    ... I have implemented role-based security on some serviced componts at ... However, method level isn't granular ... Should a user be in an applicable role, ...
    (microsoft.public.dotnet.framework.component_services)
  • Re: Accessing Directory Services from a SharePoint Web Part
    ... I will try encapsulating my Active Directory ... How do I mark my assembly in the GAC as 'AllowPartiallyTrustedCallers'? ... you might not want to do that for security reasons. ... Assemblies in the GAC always have full trust. ...
    (microsoft.public.dotnet.security)