Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have a sharepoint application which is Window based authentication ,Now i want to open the connection through my asp.net application i have credentials.I want to open the sharepoint site through asp.net application

Additional Information
I have a Asp.net application, and I have wss server ,
Here my projetc is DOcument management server, My application is asp.net appln, For document managing purpose i use WSS3.0, My authentication is Window based authentication, When upload the file from asp.net appln to wss 3.0 server ,
I use the below code Lists
objLists = new Lists();
objLists.Url = ConfigurationManager.AppSettings["SharepointListsService"].ToString(); 
objLists.Credentials = CreateCredentials();

In CreateCredentials() Function i pass domain name,username,password all those things, so far everything is working fine. When i upload a file into WSS3.0 Server,

I know the path of parthicular file http://fileserver/document_library_name/filename(http://wssserver/DocLibrary/test.xlsx) I pass the url into hyperlink when i tried to click this it asks username password

..So i want to open the connection from asp.net appln itself

Thanks in advance
Posted
Updated 6-Jan-12 2:46am
v6
Comments
Ankur\m/ 6-Jan-12 7:45am    
Search CP/Google for SSO (Single Sign On). That should get you started.
senguptaamlan 6-Jan-12 7:58am    
not very clear...can you please expain a bit more???
sathish.kasin 6-Jan-12 8:06am    
I have a Asp.net application, and I have wss server , Here my projetc is DOcument management server, My application is asp.net appln, For document managing purpose i use WSS3.0, My authentication is Window based authentication,
When upload the file from asp.net appln to wss 3.0 server ,

I use the below code

Lists objLists = new Lists();
objLists.Url = ConfigurationManager.AppSettings["SharepointListsService"].ToString();
objLists.Credentials = CreateCredentials();

In CreateCredentials() Function i pass domain name,username,password all those things, so far everything is working fine.

When i upload a file into WSS3.0 Server, I know the path of parthicular file
http://fileserver/document_library_name/filename(http://wssserver/DocLibrary/test.xlsx)

I pass the url into hyperlink when i tried to click this it asks username password ..So i want to open the connection from asp.net appln itself

[no name] 6-Jan-12 8:26am    
You should have edited you original question to provide this additional information rather than post it as a response to a comment.

As was mentioned, you need to research Single Sign On (SSO)
sathish.kasin 6-Jan-12 8:44am    
Single sign on @ where in asp appln or wss appln?

In wss appln is not possible...becoz i want to open wss from asp aplln only..

1 solution

 
Share this answer
 
Comments
sathish.kasin 9-Jan-12 9:04am    
Hi ppls I went some tutorials all of them tellin about cookies sharing but my requirement is




I have two application one is formbased application and another one is window based application,Here i want to implement single sign on method.My second application is sharepoint application.

I want to login to my second application throgh my asp.net application.

if i give the url of my second application means i get the below authentication window

http://oi52.tinypic.com/15e7k3k.jpg

http://img269.imageshack.us/img269/2074/wbar.jpg


I went some tutorials on single sign on but they all tell about cookies shareing and LDAP process but my scenario is diiferrent

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900