set permissions on webmethods

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DraguVaso

    set permissions on webmethods

    Hi,

    For my webservice I need the folowwing security:
    - all the webmethods must be accesible inside the LAN (for our employees)
    - by the internet only some of the methods should be accessible (by our
    customers, basicly some read-methods)

    Is there a way to easily implement this?

    Thanks,

    Pieter


  • Yunus Emre ALPÖZEN [MCSD.NET]

    #2
    Re: set permissions on webmethods

    Run your publicly exposed webservices on a different port on IIS. Define a
    firewall rule to access this port on your modem/firewall...

    This is the easiest way...

    --

    Thanks,
    Yunus Emre ALPÖZEN
    BSc, MCSD.NET

    "DraguVaso" <pietercoucke@h otmail.com> wrote in message
    news:OvdQt8gfFH A.1444@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi,
    >
    > For my webservice I need the folowwing security:
    > - all the webmethods must be accesible inside the LAN (for our employees)
    > - by the internet only some of the methods should be accessible (by our
    > customers, basicly some read-methods)
    >
    > Is there a way to easily implement this?
    >
    > Thanks,
    >
    > Pieter
    >
    >[/color]


    Comment

    • Yunus Emre ALPÖZEN [MCSD.NET]

      #3
      Re: set permissions on webmethods

      Run your publicly exposed webservices on a different port on IIS. Define a
      firewall rule to access this port on your modem/firewall...

      This is the easiest way...

      --

      Thanks,
      Yunus Emre ALPÖZEN
      BSc, MCSD.NET

      "DraguVaso" <pietercoucke@h otmail.com> wrote in message
      news:OvdQt8gfFH A.1444@TK2MSFTN GP10.phx.gbl...[color=blue]
      > Hi,
      >
      > For my webservice I need the folowwing security:
      > - all the webmethods must be accesible inside the LAN (for our employees)
      > - by the internet only some of the methods should be accessible (by our
      > customers, basicly some read-methods)
      >
      > Is there a way to easily implement this?
      >
      > Thanks,
      >
      > Pieter
      >
      >[/color]


      Comment

      • Dm. [MCAD.Net]

        #4
        Re: set permissions on webmethods

        If do you require to segregate web-methods to public/private/roles,
        the most usable way is to make SoapExtension and SoapExtensionAt tribute,
        which will allow something like this:
        [WebMethod(Messa geName="GetXML" ), SessionSecurity Attribute(RoleG roup=2)]

        Regards, Dm.

        "Yunus Emre ALPÖZEN [MCSD.NET]" <yemre@msakadem ik.net> wrote in message
        news:%23ImJ9anf FHA.1444@TK2MSF TNGP10.phx.gbl. ..[color=blue]
        > Run your publicly exposed webservices on a different port on IIS. Define a
        > firewall rule to access this port on your modem/firewall...
        >
        > This is the easiest way...
        >
        > --
        >
        > Thanks,
        > Yunus Emre ALPÖZEN
        > BSc, MCSD.NET
        >
        > "DraguVaso" <pietercoucke@h otmail.com> wrote in message
        > news:OvdQt8gfFH A.1444@TK2MSFTN GP10.phx.gbl...[color=green]
        >> Hi,
        >>
        >> For my webservice I need the folowwing security:
        >> - all the webmethods must be accesible inside the LAN (for our employees)
        >> - by the internet only some of the methods should be accessible (by our
        >> customers, basicly some read-methods)
        >>
        >> Is there a way to easily implement this?
        >>
        >> Thanks,
        >>
        >> Pieter
        >>
        >>[/color]
        >
        >[/color]


        Comment

        • Dm. [MCAD.Net]

          #5
          Re: set permissions on webmethods

          If do you require to segregate web-methods to public/private/roles,
          the most usable way is to make SoapExtension and SoapExtensionAt tribute,
          which will allow something like this:
          [WebMethod(Messa geName="GetXML" ), SessionSecurity Attribute(RoleG roup=2)]

          Regards, Dm.

          "Yunus Emre ALPÖZEN [MCSD.NET]" <yemre@msakadem ik.net> wrote in message
          news:%23ImJ9anf FHA.1444@TK2MSF TNGP10.phx.gbl. ..[color=blue]
          > Run your publicly exposed webservices on a different port on IIS. Define a
          > firewall rule to access this port on your modem/firewall...
          >
          > This is the easiest way...
          >
          > --
          >
          > Thanks,
          > Yunus Emre ALPÖZEN
          > BSc, MCSD.NET
          >
          > "DraguVaso" <pietercoucke@h otmail.com> wrote in message
          > news:OvdQt8gfFH A.1444@TK2MSFTN GP10.phx.gbl...[color=green]
          >> Hi,
          >>
          >> For my webservice I need the folowwing security:
          >> - all the webmethods must be accesible inside the LAN (for our employees)
          >> - by the internet only some of the methods should be accessible (by our
          >> customers, basicly some read-methods)
          >>
          >> Is there a way to easily implement this?
          >>
          >> Thanks,
          >>
          >> Pieter
          >>
          >>[/color]
          >
          >[/color]


          Comment

          Working...