473,657 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 23 '05 #1
4 1994
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" <pi**********@h otmail.com> wrote in message
news:Ov******** ******@TK2MSFTN GP10.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

Nov 23 '05 #2
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" <pi**********@h otmail.com> wrote in message
news:Ov******** ******@TK2MSFTN GP10.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

Nov 23 '05 #3
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]" <ye***@msakadem ik.net> wrote in message
news:%2******** ********@TK2MSF TNGP10.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" <pi**********@h otmail.com> wrote in message
news:Ov******** ******@TK2MSFTN GP10.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


Nov 23 '05 #4
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]" <ye***@msakadem ik.net> wrote in message
news:%2******** ********@TK2MSF TNGP10.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" <pi**********@h otmail.com> wrote in message
news:Ov******** ******@TK2MSFTN GP10.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


Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5567
by: mdh | last post by:
I have an application written for mod_perl and Apache that needs to be able to send some XML queries to a WebMethods server for access to corporate systems. I have been attempting to use LWP to POST my XML query to the target WebMethods server and find I only get 401s (authorization errors) from the WebMethods server when it is configured for username/password authentication. If credentials are turned off on the WM server, I can get my...
1
3067
by: Brad H McCollum | last post by:
I'm writing an application using VB 6.0 as the front-end GUI, and the MSDE version of SQL Server as the back-end (it's a program for a really small # of users --- less then 3-4). I'm trying to determine, through the Visual Basic interface, the permissions of each user that's using the application on his/her machine. For example, let's say I'm user "Michael" that's sitting down at my machine using the app. I've written. The security...
4
2408
by: Baldor Renwald | last post by:
How can I make two or more webmethods run under the same transaction? Thanks
14
2611
by: Bert Vandenberghe | last post by:
Hi, I was wondering if there are any best practices on the creation of webmethods? I'll try to explain this a little more: My problem is that we are changing an existing (large) DCOM application to use web services, but we have like hundreds of different methods you can call and what I wanted to do, is add a couple of generic webmethods that take a serializable .NET class or structure, and in that class or structure we put all the...
1
984
by: khr128 | last post by:
I have a well-tested COM object. Ican use it from c# console and windows apps, but WebMethod in a WebService refuses to load this object. The COM object loads into MTA. Any thoughts and/or clarifications on COM usage from WebMethods will be greatly appreciated.
0
265
by: DraguVaso | last post by:
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,
2
992
by: =?Utf-8?B?SXZhbiBBYnJhbW92?= | last post by:
Everything has been fine for years and the code Dim dsNews As DataSet Dim ws As New localhost.Service dsNews = ws.GetNews() was working on my developer PC, but now I get the error: "There is an error in XML document (1, 1214)" I've tried to call other webmethods and webservices - the same error.
0
2056
by: sdtdevelop | last post by:
Hi all, I have build a webservice and now i am trying to call it from webMethods. Binding succeeds but gives me below warning messages: WSDL code: S-9038 Error: Unknown binding style was found, binding was not generated. and WSDL code: S-9015 Warning: Port does not have a valid binding type, port was not generated.
7
1406
by: Killer42 | last post by:
I'm doing some webMethods training, and just wondered - where would be the appropriate forum to ask questions about it?
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.