Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2005

Tip: Looking for answers? Try searching our database.

set permissions on webmethods

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DraguVaso - 01 Jul 2005 08:33 GMT
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] - 01 Jul 2005 20:54 GMT
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...

Signature

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

> Hi,
>
[quoted text clipped - 8 lines]
>
> Pieter
Dm. [MCAD.Net] - 07 Jul 2005 19:16 GMT
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.

> Run your publicly exposed webservices on a different port on IIS. Define a
> firewall rule to access this port on your modem/firewall...
[quoted text clipped - 13 lines]
>>
>> Pieter

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.