|
-
Jan 10th, 2006, 04:34 AM
#1
Thread Starter
Frenzied Member
Can someone please explain authorization process and setup
I have the following scenario
* a webserver where I have set up an asp.net webapplication
I have set it to basic authorization only, and on file level I have default permissions + an account I created for this application (mydomain\mywsapp_account) It is a domain account in the active directory
* I have an asp.net application on another webserver where the user has to identify himself using his domain username and password. I have set this web app to basic authentication and on file level I have added the AD group "myapp_users". The user cant proceed unless he/she belongs to this group.
Now the tricky part is, how should I call the webservice from within my application??? I need somehow to pass the credentials of the "mydomain\mywsapp_account" from the calling app to the webservice. I could hard code this in the app by creating a new network credentials object, but thats not good.
How should you have set up this? Im a bit lost here.
Oh another thing... On my web application in IIS I have set authentication to integrated windows, but when I call
CredentialCache.DefaultCredentials I get an empty object?? Why??
/Henrik
Last edited by MrNorth; Jan 10th, 2006 at 04:37 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|