RE: Anonymous & Authenticated Access (Together?)
From: Gary K (GaryK_at_discussions.microsoft.com)
Date: 10/27/04
- Next message: Patrick.O.Ige: "Re: Authorization problem"
- Previous message: Scott Mitchell [MVP]: "Re: Call a webservice with out using proxy class"
- In reply to: Gary K: "Anonymous & Authenticated Access (Together?)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 26 Oct 2004 17:19:01 -0700
Never mind. I found it! Silly me did not think to look at the generated code
from the web reference tools and then backtrack the classes looking at all
members until I found the Credentials property.
"Gary K" wrote:
> I'm trying to create a web service that contains functions available to both
> Anonymous & Authenticated access. Now I am having problems with security
> access. The plan was to allow anonymous access to the web service, and
> control user credentials through code impersonation. (It's the webservice
> functions job to filter security roles, etc)
> Unfortunately I am suffering from the VS2002 bug, where you HAVE to set the
> internet explorer security zone, Logon setting to 'Automatic with username &
> password' before you can debug. (Otherwise even admins get debug permission
> errors)
> I also cannot get the debugger to debug across webservice calls
> (app<->service), which means that I have to debug the webservice with
> anonymous access turned off, and allow the administrator role to slip through
> function security checks, and when debugging the application I have to turn
> anonymous access back on and try using impersonation.
> The real problem I'm having (i got to the point eventually), is that my
> application appears to be 'logging' into the service anonymously, regardless.
> Is it possible to somehow send the user details to the service and have it
> use those, or will I have to create two seperate yet intertwined projects
> (one secure, one not)?
> My goal is to have ONE service (cut's down on management & server overhead)
> with a controller application able to run on any computer/location, that uses
> a user inputed username/password for logon to the service. And to make things
> even more complicated, the user logon will need to be done through the
> server's ActiveDirectory services.
- Next message: Patrick.O.Ige: "Re: Authorization problem"
- Previous message: Scott Mitchell [MVP]: "Re: Call a webservice with out using proxy class"
- In reply to: Gary K: "Anonymous & Authenticated Access (Together?)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|