Re: Recommended way to pass identity to web service
- From: "TS" <manofsteele1@xxxxxxxxxxxxx>
- Date: Thu, 12 Apr 2007 08:30:13 -0500
for #2, if i did that i would want to make sure there was no logic hard
coded. Can you tell me the basic steps that you would do to
authenticate/authorize the client?
thanks
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:KjA$TKNfHHA.4692@xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for your reply TS,
Now I've got that your concern is that the webservice and your proxy
component will be called by multiple client applications and you want each
of them only have the permission to view their own document in the MOSS
(through excel service).
I've also discussed this with some SPS engineers and here are some of our
suggestion:
1. If you want to use the SPS security, then you can just configure the
document permission for those excel document in the SPS server(just like
you configure permission of other document in sharepoint document
library).
And when you use webservice to access teh excel service document, it will
also perform authorization based on the document library's permission
setting. So each of your client application will use its own domain
account
to access the document library:
#Plan Excel Services security
http://technet2.microsoft.com/Office/en-us/library/a49883a7-de84-4a66-8fa0-7
c7d125f237b1033.mspx?mfr=true
#Manage permissions for a list, library, folder, document, or list item
http://office.microsoft.com/en-us/help/HA100215641033.aspx
http://www.sharepointblogs.com/ssofian/archive/2006/07/28/9532.aspx
2. If you still want to use a single fixed accoutn for access the excel
service, that account should have permission in SPS to access all those
excel files. And for different clients, we do the access control in our
webservice proxy wrapper class. You can create a wrapper component class
which call the excel service proxy internally. and before call excel
service webmethod, the wrapper class can do security validation(our own
code logic) according to client application(caller)'s identity and which
document they want to access.
How do you think?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: Recommended way to pass identity to web service
- From: Steven Cheng[MSFT]
- Re: Recommended way to pass identity to web service
- References:
- Recommended way to pass identity to web service
- From: TS
- RE: Recommended way to pass identity to web service
- From: Steven Cheng[MSFT]
- Re: Recommended way to pass identity to web service
- From: TS
- Re: Recommended way to pass identity to web service
- From: Steven Cheng[MSFT]
- Recommended way to pass identity to web service
- Prev by Date: Re: Recommended way to pass identity to web service
- Next by Date: Re: XML Web Services and Datareader Issue
- Previous by thread: Re: Recommended way to pass identity to web service
- Next by thread: Re: Recommended way to pass identity to web service
- Index(es):
Relevant Pages
|