.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Redirecting Anonymous users IIS 7

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :ASP.Net


I am working on an internal application... i setup IIS 7 to use windows authentication since its behind the firewall and on the domain.. there is a "public" side.. and an "internal" side... if your not part of IT.. you should get the public side.. this is just informational.. my problem is that there is 1 or two pcs that are not on the domain and nobody is logged into them.. how can i just redirect anonymous users to another site???????


everything i read says you can't use anonymous AND windows auth.. so my thought was to just redirect the anonymous users to another site.. how can you do that??  



any help is appreciated!






View Complete Post

More Related Resource Links

Need help redirecting users to personalized page


 Hi, first timer here so be gentle.


I've been able to create a cool little website, it's up and running with users logging in and out, I created roles so my administrative team can see sensitive data that's not available to regular and anonymous users.

Now they would like me to create a page specific to each user.  For instance when user A logs in they are redirected to a page that has information that pertains to user A only (like a list of their benefits/ their remaining vacation time). This page needs to be accessible only to user A. 

I've watched a ton of the videos but have yet to see one that covers this topic, any help would be great!!!





make anonymous users submit data to a form library

isn't there a way for anonymous users to submit form data to a form library without custom code?

Allow Anonymous Users to respond to blog posts

Hello, I'm using Sharepoint Foundation 2010 and more specifically the blog application. I've turned on Anonymous Access so people can read posts, but I also want them to be able to respond to the posts. Is this possible? Thanks in advance, Bas

Anonymous users submitting Infopath forms via InfoPath Form Web Part

Is there a way for anonymous users in a public facing site to submit InfoPath List Forms via an InfoPath Form Web Part? Currently when I go to a page with the InfoPath Form web part configured as an anonymous users I get the following error message: Error loading the form A form template (.xsn) file cannot be accessed. You may not have the required permissions to open the file The list allows anonymous users permissions to add and view items When logged in the form works fine

Modifying the wssuc:Welcome for anonymous users to have a Register Link

HI every one, First post so be gentle :) Spent a day and a bit on the various sites and not having much luck with my issue, and I am hoping some one can guide me I need to modify the Welcome message to have one more link for anonymous users: Register. So it will say Register | Sign In. I have tried the AnonymousTemplate but it only shows the register when you have logged in, and a few various other ways. I tried to create a custom template for the Welcome control, but didn't have my luck either. Can some one suggest a tutorial or a way forward please. Thanks Lou

Anonymous access for mobile users


I have set up anonymous access on a sharepoint 2010 publishing site, and that works fine. However, when I try to access the site from a mobile device ( or in a browser with a url of http://server/pages/default.aspx?Mobile=1), I get 401 Unauthorized.

In the IIS log, it's showing a 401 on: /_layouts/mobile/mblwp.aspx

Any suggestions for getting anonymous to work for mobile users?



Hiding the ribbon for anonymous users



Does anyone know the preferred method of hiding the ribbon for anonymous users in the master page?

Thanks in advance - Phil

Users can access every new library though Anonymous access id disabled


Hi guys,

I have a really strange stuff going on... I have Anonymous acces disabled on my MOSS portal in Central Administration:

Central Admin->Application Management->Authentication Providers->Default-> Anonymous Access is checked off


So I doesn't even have an option to enable it on any sites of this web application. But when I create a new Document Library all users have read permissions to it though I left only System Account at library permissions .

Am I missing something?

What are the options to get information from anonymous users in sharepoint ?


1) i tried with the infopath form submitting but found out that sharepoint wf wont start for system account submission

2) I tried useing list form, sharepoint workflow doesnt work also it shows view all site contents & throughs an error when anonymous user submit the list form but i can see item in allitem.aspx

i cant use the form based authentication, beacuase form itself an request for account password & we dont want users to register again

How to Hide the Ribbon and Site Actions Menu for Anonymous Users in SharePoint 2010?


How to Hide the Ribbon and Site Actions Menu for Anonymous Users in sharepoint2010?


any thoughts?

Thanks in Advance!

Share Knowledge and Spread Love!

anonymous users vs intranet users in sharepoint 2010 internet facing sites




We have sharepoint 2010 internet facing sites where inside custom master page we have security trimmed control which hides site actions for general users.

Now we have anonymous access enabled. So any body can access this site.

Now even if user is author or from intranet , he can not see site actions as we do not have any sign in link.

How to automatically show site actions to users from intranet and with proper rights and hide siteactions to anonymous users?

grouped view for anonymous users


I have a sharepoint 2010 box that has anonymous access enabled. One site manager put a document library view on two different pages (insert web part --> lists and libraries --> documents) On one page, they let it display the default view. On the other, they changed it to display a grouped view (with plus signs, to expand and collapse the list of docs).

The page with the default view works fine. The page with the grouped view asks for credentials when the plus sign is clicked on. If you click cancel, it displays "401 unauthorized".

Any suggestions?



How do I get rid of a ribbon for anonymous users?

I have a site that I have enabled anonymous access, but when I go onto the website as an anonymous user, the ribbon is still there, how can I get rid of it?  How can I also add a link that could prompt them to login and would bring up the ribbon if they are editors of the site?

Deactivating the Sharepoint 'Backend' for Anonymous Users


Hi all,

I have part of my site that's accessible to anonymous users, now the permissions are correctly configured so that they can't mess with anything that they shouldn't be - but i'd still like to disable the sharepoint 'backend' pages that let them view all site content/browse lists that they do have access to etc. - is there any way to achieve this?




Redirecting users upon logging in


I have what I thought was an easy problem that would have an easy solution.  Unfortunately....

Authenticated users logging onto my site have all been assigned a role: Administrators, Group1, and Group2. I want each user to be redirected using DestinationPageUrl to an Administrator page, a Group1 page, or aGroup2 page based on their role. Isn't there an easy way to do this using an If...Then statement? All I seem to find is mountains of code.



Anonymous users still get prompted?


Hi all,

My Sharepoint homepage allows anonymous access without login, however after I added a media web part to the page, anonymous users get prompted everytime they view the page.

I am sure the problem is relating to the media web part since the prompt popup disappeared when I removed the web part. I checked the permission of the asset library which holds the video and it allows "View Items" permission for anonymous users. So I would expect anonymous should not be prompted.

I just google for answers, deactivating "Lockdown Mode" feature is not work for me:

I have read another post of similar issue and the problem still has not been solved:

Is this really a bug or any other method to solve the problem?


Preventing of Javascript files from being loaded for Anonymous Users



we have  developed an internet  site using Sharepoint 2010 and are trying to fine fine tune the site w.r.t. the performance and are trying to block the OOTB javascript files(i.e ie55up.js, init.js,SP.Core.js,cui,js etc.) for anonymous users.

Have tried all the conventional ways followed in Sharepoint 2007 for the same (i.e. tweaking SharePoint:ScriptLink , asp:ScriptManager controls, using Sharepoint:SPSecurityTrimmedControl etc.) but in vain.

It appears that the OOTB controls placed even in the Sharepoint:SPSecurityTrimmedControl block are called for anonymous users and call  the .js files).

Can anyone suggest the ways to remove the page weight , currently the javascript alone are taking 2MB even for the anonymous users.


Thanks and Regards,


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend