By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 1,918 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

How to secure a web service using a custom Principal object?

P: 21
I have a web service in the same project as the rest of my website. I am able to call my web service without any trouble from the Javascript on my page using the Script Manager. Now, I want to have my web service access some of my business logic, and in order to do that I need to access the current Principal. The Principal object is set for the rest of the website, but not on my web service (where it uses WindowsIdentity instead of my BusinessIdentity).

I need to be able to somehow either login to my web service, or pass my Principal object. I still need to be able to access the web service via Javascript (including the business logic methods on my web service).

Any ideas? Thanks in advance for your help...
Aug 5 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.