set permissions on webmethods

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default 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


    DraguVaso Guest

  2. Similar Questions and Discussions

    1. Overloading WebMethods
      I have webservice and I need to overload a method but when overloading the method as following i got error message written below: public int...
    2. how to call webmethods in a batch
      >> Does WebService support calling methods in a batch. I have the following two scenarios: case1 : say i need to call two webservice methods that...
    3. Webmethods in sorted order
      can some one please let me know how to list WebMethods in a sorted order(or in a custom order) when I browse to the .asmx page. for eg. i have a...
    4. Multiple WebMethods in a Web Service
      Yep - you need to have that Web Method attribute above every method you want to expose in your web service... "JP" <jpatel3@hotmail.com> wrote...
    5. selectively exposing webmethods
      We need to be able to selectively expose webmethods. In other words, we have many clients who use our application in many different ways. We have...
  3. #2

    Default 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@hotmail.com> wrote in message
    news:OvdQt8gfFHA.1444@TK2MSFTNGP10.phx.gbl...
    > 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] Guest

  4. #3

    Default 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 SoapExtensionAttribute,
    which will allow something like this:
    [WebMethod(MessageName="GetXML"), SessionSecurityAttribute(RoleGroup=2)]

    Regards, Dm.

    "Yunus Emre ALPÖZEN [MCSD.NET]" <yemre@msakademik.net> wrote in message
    news:%23ImJ9anfFHA.1444@TK2MSFTNGP10.phx.gbl...
    > 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@hotmail.com> wrote in message
    > news:OvdQt8gfFHA.1444@TK2MSFTNGP10.phx.gbl...
    >> 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
    >>
    >>
    >
    >

    Dm. [MCAD.Net] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139