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!

Anonymous access lost

Status
Not open for further replies.

jverhoog

Programmer
May 27, 2005
15
NL
I have enabled SPS for anonymous access, working fine.

When an anonymous user does something that he isn't allowed to do, he is prompted for a username and password. Being an anonymous user, he will click Cancel. But now he can't browse the website anymore without being prompted for a username and password. Clicking cancel on these prompts results in an access denied error.

I think the problem is that when logging in anonymously, the user is given the username of the anonymous account, which is lost when he clicks cancel.

Both of the following the following solutions will do:
1- Not showing links that the user is not allowed to click (optimal)
2- Not prompting for username and password when the user does something that is not allowed. Just not allow it. (less optimal, but this sould definitely be possible)

Maybe there is some configuration setting for this?
 
I have a simular issue. I have set up a guest account in IIS with the user/pass as guest/guest. However, when I try to log on with that acct in sharepoint, it asks for the domain as well. I do know that sharepoint is using authentication from Active Directory. Could this be the problem with anonymous access? If so, how do I set up a guest account?

Thank you in advance!
 
Its a user problem. If the user goes to a link that her/she dosn't access to, where the logon box pops up. Now if the user click cancel or click trough using incorrect username and password. Their computer will cash the information in their computer. For them to be able to access the website again as an anonymous access they need to clear temp files to remove the incorrect information.

When fustrated remember, In the computer world there is allmost always a backdoor.
 
> Its a user problem.
I see that, but is there any way to solve this? - Like not prompting for a password? Normally one gets an HTTP 401 (Unauthorized) error, which causes the browser to ask the user for his name and password. But what if we just gave a HTTP 200 (accept), saying: "Don't do this, go back". Is that possible?
 
You can change the error message to include information to let them know to clear their temps files.

In IIS right click on you sharepoint site---properties.
Click custome errors. Find error 401;1 and you can edit if file to include the directions to fix the problem.

When fustrated remember, In the computer world there is allmost always a backdoor.
 
> When fustrated remember, In the computer world there is allmost always a backdoor.

You're absolutely right. Seeing that SPS does not offer a solution, I created a proxy websites that requests the pages from the portal server. Now I can control everythng, including not sending 401 messages to the user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top