Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
webservice
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mars  
View profile  
 More options Sep 24, 11:33 pm
Newsgroups: microsoft.public.sharepoint.windowsservices
From: Mars <msnew...@nospam.nospam>
Date: Thu, 24 Sep 2009 06:33:01 -0700
Local: Thurs, Sep 24 2009 11:33 pm
Subject: webservice
Hi -

1) What's the security best practice for sharepoint web services (under
_vti_bin)...specially for public sites?

Thanks in advance


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mars  
View profile  
 More options Sep 25, 2:52 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: Mars <msnew...@nospam.nospam>
Date: Thu, 24 Sep 2009 09:52:03 -0700
Local: Fri, Sep 25 2009 2:52 am
Subject: RE: webservice
also wanted to add...

Which .asmx pages under _vti_bin can be secured (using windows
authentication) on a public facing site without breaking the site.Any
recommendation ?

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mars  
View profile  
 More options Sep 26, 6:08 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: Mars <msnew...@nospam.nospam>
Date: Fri, 25 Sep 2009 13:08:03 -0700
Local: Sat, Sep 26 2009 6:08 am
Subject: RE: webservice
Hi I have tried to follow the instructions of theses documents.

http://msdn.microsoft.com/en-us/library/9hdd3w8c%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/2tyf2t8t%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/aa302435.aspx

My Goal is to disable all the built in sharepoint webservices and disable
the default webservices page.

1) I made all the changes in the documents to machine.config (even though it
is for the whole machine) -nothing happens.
2) There is no <webservices> node in the web.config for the web app,so I
created one at the end just above the </configuration> node.It brought down
the whole site along with .asmx pages.

Any suggestions?

Thanks in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Steven Cheng"  
View profile  
 More options Sep 28, 1:21 pm
Newsgroups: microsoft.public.sharepoint.windowsservices
From: stch...@online.microsoft.com ("Steven Cheng")
Date: Mon, 28 Sep 2009 03:21:33 GMT
Local: Mon, Sep 28 2009 1:21 pm
Subject: RE: webservice

Hi Mars,

As for the <webServices> configuration node, they are not at the top level
(under <configuration> element) but under the <system.web> config section.
So you need to add the <webServices> node with the following node hierarchy:

<configuration>
<system.web>
<webServices>
....

http://msdn.microsoft.com/en-us/library/cs8x2624(VS.71).aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notificat....

--------------------
From: =?Utf-8?B?TWFycw==?= <msnew...@nospam.nospam>
References:  <38F9B5B8-3849-4F26-85CC-1A6B6CFFD018@microsoft.com>
<784048D3-E934-4DBA-9E3D-A49D1E3A0...@microsoft.com>
Subject: RE: webservice
Date: Fri, 25 Sep 2009 13:08:03 -0700

Hi I have tried to follow the instructions of theses documents.

http://msdn.microsoft.com/en-us/library/9hdd3w8c%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/2tyf2t8t%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/aa302435.aspx

My Goal is to disable all the built in sharepoint webservices and disable
the default webservices page.

1) I made all the changes in the documents to machine.config (even though
it
is for the whole machine) -nothing happens.
2) There is no <webservices> node in the web.config for the web app,so I
created one at the end just above the </configuration> node.It brought down
the whole site along with .asmx pages.

Any suggestions?

Thanks in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Timney (MVP)  
View profile  
 More options Sep 29, 7:01 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: "John Timney \(MVP\)" <xyz_j...@timney.eclipse.co.uk>
Date: Mon, 28 Sep 2009 22:01:07 +0100
Local: Tues, Sep 29 2009 7:01 am
Subject: Re: webservice
The typical approach would be to restrict access to the directory using the
location tag in web.config

Something like this

<location path="_vti_bin">
    <system.web>
      <authorization>
        <allow users="mypermittedusergroup" />
        <deny users="?,*" />
       </authorization>
    </system.web>
  </location>

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog

"Mars" <msnew...@nospam.nospam> wrote in message

news:38F9B5B8-3849-4F26-85CC-1A6B6CFFD018@microsoft.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mars  
View profile  
 More options Sep 30, 2:27 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: Mars <msnew...@nospam.nospam>
Date: Tue, 29 Sep 2009 09:27:02 -0700
Local: Wed, Sep 30 2009 2:27 am
Subject: RE: webservice
Hi Steven.Thanks for the answers,things working out.

When I disable WSDL generation it shows and error when you try to browse any
.asmx file , which is expected.I want to redirect users to page saying  "You
are not allowed".THere is a MS document on this,it says i need to place the
desired page under the docs directory beneth the root of the web
application.I dont have a doc directory under any web applications root
directory.Can you explain the steps or give me an alternative please.Thanks
in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mars  
View profile  
 More options Oct 1, 2:07 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: Mars <msnew...@nospam.nospam>
Date: Wed, 30 Sep 2009 09:07:02 -0700
Local: Thurs, Oct 1 2009 2:07 am
Subject: RE: webservice
Hi Steven- Is it possible to keep the webservices enabled and allow a outside
partner to use selected webservices (say,search.asmx and lists.asmx) and lock
down the others?

Thanks in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Steven Cheng"  
View profile  
 More options Oct 1, 6:06 pm
Newsgroups: microsoft.public.sharepoint.windowsservices
From: stch...@online.microsoft.com ("Steven Cheng")
Date: Thu, 01 Oct 2009 08:06:17 GMT
Local: Thurs, Oct 1 2009 6:06 pm
Subject: RE: webservice

Hi Mars,

As for the requirement you provided, it sounds like add authorization for
the web service. Based on my experience, the IIS or ASP.NET system provide
some URL or role based authorizaiton, you can have a look to see whether
that can help protect your asmx endpoint:

#URL Authorization in IIS 6.0 (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Librar...
f20bedc-67a4-4bdd-a435-ea7d2363c3b9.mspx?mfr=true

#Understanding IIS 7.0 URL Authorization
http://learn.iis.net/page.aspx/142/understanding-iis-70-url-authoriza...

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

--------------------
From: =?Utf-8?B?TWFycw==?= <msnew...@nospam.nospam>
Subject: RE: webservice
Date: Wed, 30 Sep 2009 09:07:02 -0700

Hi Steven- Is it possible to keep the webservices enabled and allow a
outside
partner to use selected webservices (say,search.asmx and lists.asmx) and
lock
down the others?

Thanks in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mars  
View profile  
 More options Oct 6, 3:07 am
Newsgroups: microsoft.public.sharepoint.windowsservices
From: Mars <msnew...@nospam.nospam>
Date: Mon, 5 Oct 2009 10:07:09 -0700
Local: Tues, Oct 6 2009 3:07 am
Subject: RE: webservice
Hi Steven.
The documents are focused on _vti_bin and the site itself.The site that i'm
working on is a public site, so the site has to stay anonymous access
enabled.If i block _vti_bin folder the site breaks..so that has to stay as it
is.I just want the webservices secured.

If i secure the asmx endpoints with windows authentication but httppost and
httpget protocols are still enabled,is my webservice secured?

*In other words, how may endpoints are there that I have to block to protect
the web services (othar than asmx pages)?

*How do I block all the endpoints (from IIS , web.config, or others) for all
webservices and give a user access to the one they actually need access to.?

Thanks in advance.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Steven Cheng"  
View profile  
 More options Oct 22, 8:09 pm
Newsgroups: microsoft.public.sharepoint.windowsservices
From: stch...@online.microsoft.com ("Steven Cheng")
Date: Thu, 22 Oct 2009 10:09:28 GMT
Local: Thurs, Oct 22 2009 8:09 pm
Subject: RE: webservice

Hi Mars,

How many set of the webservice functions will you need in your application?
If the secured part (which need access control) is only small part of them,
you can consider manually build a custom webservice(using sharepoint object
model) and put them under _layouts application folder. And then you can
apply own access control over your custom asmx webservice.

#Walkthrough: Creating a Custom Web Service
http://msdn.microsoft.com/en-us/library/ms464040.aspx

#Adding own custom web service to SharePoint
http://blogs.msdn.com/jannemattila/archive/2007/09/26/adding-own-cust...
service-to-sharepoint.aspx

--------------------
From: =?Utf-8?B?TWFycw==?= <msnew...@nospam.nospam>
References:  <38F9B5B8-3849-4F26-85CC-1A6B6CFFD018@microsoft.com>
<784048D3-E934-4DBA-9E3D-A49D1E3A0...@microsoft.com>
<82DB1883-87C8-4116-9880-BA76EE489...@microsoft.com>
<4n4qNr#PKHA.2...@TK2MSFTNGHUB02.phx.gbl>
<BEFE6691-6E0C-4216-92FA-59E968257...@microsoft.com>
<OuYCT4mQKHA.5...@TK2MSFTNGHUB02.phx.gbl>
Subject: RE: webservice
Date: Mon, 5 Oct 2009 10:07:09 -0700

Hi Steven.
The documents are focused on _vti_bin and the site itself.The site that i'm
working on is a public site, so the site has to stay anonymous access
enabled.If i block _vti_bin folder the site breaks..so that has to stay as
it
is.I just want the webservices secured.

If i secure the asmx endpoints with windows authentication but httppost and
httpget protocols are still enabled,is my webservice secured?

*In other words, how may endpoints are there that I have to block to
protect
the web services (othar than asmx pages)?

*How do I block all the endpoints (from IIS , web.config, or others) for
all
webservices and give a user access to the one they actually need access
to.?

Thanks in advance.

""Steven Cheng"" wrote:
> Hi Mars,

> As for the requirement you provided, it sounds like add authorization for
> the web service. Based on my experience, the IIS or ASP.NET system
provide
> some URL or role based authorizaiton, you can have a look to see whether
> that can help protect your asmx endpoint:

> #URL Authorization in IIS 6.0 (IIS 6.0)

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Librar...

http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notificat....


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google