SPS 2003 Web Services and Authentication
March 20, 2007 @ 1:19 pm by Geoff | Programming
So here is the scenario:
- I’ve got a pretty mature installation of MS Sharepoint Portal 2003
- I’ve got a pretty useful web application running on the same server using the .NET 2.0 framework (C#)
Now wouldn’t it be great if there was an easy way to use the permissions and roles from a Sharepoint Site to determine if a user should be able to access the application, after all its pretty easy to manage permission using the portal and why re-invent the wheel.
So I’ve got a couple of options I could use.
- Put the application into a WSS site in a sub directory - Not how I want to do it because the link is going to be confusing and the potential of having to reinstall something in a sub - sub directory is scary to me. I also need this to branch out of a portal area which won’t support .NET 2.0
- Write a Web Part - Opps I’ve upgraded to .NET 2.0 and I really really want to use the rich feature set. I also can’t stand messing with the GAC and strong typing and web part security.
- Find a way to use the web services inside the .NET web app - Now were talking
Before you get excited or tell me how to do this: This is part 1 - description of the problem. I believe I’ve got a cheap and easy solution using the web service authentication wrapped in a try catch block, but so far no dice.
Look for an update soon.