Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > defaultcredentials - double hop? way around this?

Reply
Thread Tools

defaultcredentials - double hop? way around this?

 
 
Justin Rich
Guest
Posts: n/a
 
      09-04-2007
So im trying to make a web service that exposes powershell and some remote
registry stuff so im trying to secure this now and im having some problems.

The DefaultCredentials always comes back blank. what i found was most often
the cuase was not having impersonate on, which isnt the issue here. I have
the two entries in the web.config and the settings in IIS and if i use a
WindowsIdentity.GetCurrent().name it comes back correctly. so the asp app is
fine.

from what i can tell a "double hop" is causing this and the solution is to
modify the delegation rights of the user account or machine. unfortuantely i
dont have access to do that so i need to find a way around this.

In the end both the web app and web service will be on the same site which i
have tried, and i still get the security problem. If i host them both from
my local machine and run it from the local machine, it works just fine. If i
try to access the app from a remote system to my local system i have a
security problem with the registry calls with in the web service (the double
hop isnt the issue here, it just isnt using the passed creds...


basically i have a big of a security mess and im starting to get really
lost.. what i would like to accomplish is to have a web service that exposes
a couple of methods (two of them are powershell invokes and one is a
OpenRemoteBaseKey)

Ideally what i would like to happen is have the windows creds from the user
be passed to the web app, which then passes them to the web service, which
then uses them to make the required calls.

Any Advice would be greatly apprecatied.

Thanks
Justin


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WTB: I BUY SOFTWARE - CHECK AROUND - YOU PROBABLY HAVE SOME OF THEBELOW LAYING AROUND. Network/Software Buyer C++ 0 05-23-2010 07:14 PM
Microsoft & patents: what goes around comes around... Lawrence D'Oliveiro NZ Computing 104 12-16-2006 07:11 AM
Read all of this to understand how it works. then check around on otherRead all of this to understand how it works. then check around on other thelisa martin Computer Support 2 08-18-2005 06:40 AM
cannot convert parameter from 'double (double)' to 'double (__cdecl *)(double)' error Sydex C++ 12 02-17-2005 06:30 PM
Make wxListCtrl fit around contents and parent frame fit around listctrl Piet Python 0 07-18-2004 08:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57