Pass credential from asp.net to sharepoint

Hello,

I have a aspx page created on sharepoint, that is being opened on a click of a button from asp.net app.
The page opens but I am first being prompted for an user id and password.
How can I pass the users AD credentials to the sharepoint page, when the asp.net button is clicked?
My asp.net app has an anonymous authentication.
subhorachanaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

quihongCommented:
I do not think passing the authentication will be possible since your asp.net app is using anonymous authentication. If its anonymous, what credential do you expect to pass?

What exactly does your button do? If you open the aspx SharePoint page directly (without using your button) does it prompt for authentication? If you are using integrated authentication it shouldn't prompt you.
0
subhorachanaAuthor Commented:
My asp.net app has anonymous authentication.
On click of button, it just does a response.redirect to a sharepoint aspx page.
Sharepoint has AD suthentication.

I believe what you say is correct. On production, the sharepoint page should automatically open up, because right now it does not ask for authentication .
0
quihongCommented:
If you treat your asp.net app (the anonymous one) and the SharePoint aspx page as two separate websites, linking them via a regular href link (not passing any authentication or whatever) it should work. Does that make sense?

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.