Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharepoint login authentication question

Status
Not open for further replies.

mldardy

Programmer
Dec 17, 2006
6
US
I have a public website that can be viewed by everyone. On that site I have a login page that once a user logs in they are on a sharepoint site. Does anyone know of a script or something within Sharepoint that can be set for login authentication so if someone tries to go directly to a sharepoint page(like copying a link within Sharepoint) they will be prompted to login instead of being able to go into that sharepoint page. Hopefully what I am asking makes sense to someone.
 
What is is currently displaying. If you do not have access, it should redirect you to a page that states you do not have access and offer a link to allow the user to login.
is that what is happening?

carl
MCSD, MCTS:MOSS
 
Yes you are correct that is what it is currently doing right now. The problem is I want to make sure that if someone sends a link to a page in Sharepoint via email or something like that and they click on it it is not cached so they can go right to the link.
 
You can add the following section to your web.config file under the system.web section.
<authentication mode="Forms">
<forms loginUrl="/_layouts/login.aspx" />
</authentication>

This way any user who is not logged in will be redirected to a specific login page.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top