When you want to publish your SharePoint Site to public you will find it asks for username and password even you have enabled anonymous features everywhere. Here is what I do.

1. The structure will be 1 intranet site address(default)  for domain users inside the domain evironment. 1 extened internet site address for public users.

2. To achieve this, you simply extend your web application to the public site address, and make sure you choose windows authentication and enable anonymous in the extending options.

3. Test it with the new public addresss, it will ask you for user name and password.

4. Now go to IIS manager, go to the public site, Authenticaiton, disable all the other authentication except the anonymous authentication.

5. Try the website again, it will not ask you for login again.

6. You will find the the login tab on the left top coner on your page, to hide it to public users, go to HTM Master Page from SharePoint 2013. Looking for:

            <!--MS:<wssucw:Welcome runat="server" EnableViewState="false">-->


and already above it you will find the :

<!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AnonymousOnly">-->

Change the AuthenticationResitrictions to 


7. You will find the login tab disspeared. However you need create a customized login page for this.


About Lei

I am an IT specialist with over 10 year experience - years on Automation, on-Premise or Azure.

I am happy to develop however never want be a full time developer. Only do what I have to do. If it has to be PowerShell,HTML, PHP, CSS, C#, VBS or JS, front end or backend, so be it, doesn't matter!

Spent years with Windows, SCCM, SharePoint, SQL and Exchange servers. For last several years, I have been actively working under On Premise > Azure environment.


Current Certificates:
    Microsoft® Certified-
  • -Enterprise Administrator
  • -Database Administrator
  • -SharePoint Administrator
  • -Administering and Deploying SCCM 2012
Red Hat Certified Technician
ITIL V3 Foundation - Practitioner

Working on Azure Certificates now and hopefully they can stop upgrading their questions one day! GIVE ME A BREAK!

Contact Lei

Name *
Email *
Comments *

Traffic since 10/08/2016

This week517
This month2590

Visitor Info

  • IP:
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online