Re: Web Service and ASP.NET Forms Authentication
- From: "Henrik Skak Pedersen" <skak@xxxxxxxxxxxxxxxx>
- Date: Tue, 18 Apr 2006 22:15:48 +0200
Hi Dominick,
I just got a link in a reply from the Compact Framework forum, which is a
discussion similar to mine:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=325044&SiteID=1
I think that I will go for this solution:
http://www.code-magazine.com/articleprint.aspx?quickid=0307071&printmode=true
Again thank you for your reply.
Cheers Henrik
"Henrik Skak Pedersen" <skak@xxxxxxxxxxxxxxxx> wrote in message
news:uLqdtJyYGHA.2136@xxxxxxxxxxxxxxxxxxxxxxx
Hi Dominick,
Again, thank you for your reply :-)
Ok, so FormsAuth is out, the same is WSE because it is not supported on
the Compact Framework. All my users are custom users and not Windows
accounts, so that leaves me with implementing my own basic auth module. Do
you have any examples of how to do that?
I guess that is supported on all three platforms?
Thanks
henrik.
"Dominick Baier [DevelopMentor]" <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:4580be63199f8f8c83144fc7b09d5@xxxxxxxxxxxxxxxxxxxxx
Hi Henrik,
FormsAuth relies on cookies - this is very unnatural for web services -
you would have to create a login method, the client needs a cookie
container (bit of a problem for asp.net) etc...
Well - you could use WSE3 username tokens with SSL or basic
authentication with SSL (which are both very similar)
basic auth would be against windows accounts only unless you implement
your own basic auth module that authenticates against a custom user
store.
WSE3 has the concept of UsernameTokenManagers where you can implement
custom authentication but has to be installed on every client
HTH
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
Hi,
Is it possible to use ASP.NET Forms Authentication in Web Services?
or should I use WSE 3.0 UserNameTokens?
I have to call the web service from a Web App, a Windows App and a
SmartPhone app.
Thanks
Henrik Skak Pedersen
.
- Follow-Ups:
- Re: Web Service and ASP.NET Forms Authentication
- From: Dominick Baier [DevelopMentor]
- Re: Web Service and ASP.NET Forms Authentication
- References:
- Web Service and ASP.NET Forms Authentication
- From: Henrik Skak Pedersen
- Re: Web Service and ASP.NET Forms Authentication
- From: Dominick Baier [DevelopMentor]
- Re: Web Service and ASP.NET Forms Authentication
- From: Henrik Skak Pedersen
- Web Service and ASP.NET Forms Authentication
- Prev by Date: Re: Web Service and ASP.NET Forms Authentication
- Next by Date: Re: How do create an Admin page that has the same functionality as "Security" tab in 'ASP.NET configuration tool'?
- Previous by thread: Re: Web Service and ASP.NET Forms Authentication
- Next by thread: Re: Web Service and ASP.NET Forms Authentication
- Index(es):
Relevant Pages
|