none
how to configure SharePoint server to ask user credentials all time?

    Question

  • Hi,

    I my context, I need to disable/disallow user to have auto login to my SharePoint server. I want my server to prompt for user credentials when ever user try to access, even if the user is from same domain. Is there any configuration or how can I do this?

    Thanks is advance.


    • Edited by pointtoshare Thursday, February 08, 2018 11:06 AM
    Thursday, February 08, 2018 11:05 AM

Answers

  • Hi,

    You can achieve it through IE's settings.
    In the IE, click tool button, select Internet Options, select Security, click Custom Level.
    Pull the page to the bottom, you will see the following picture:
     
    Select the Prompt for user name and password.

    Best Regards,
    Carl Zhou

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    • Marked as answer by pointtoshare Thursday, February 15, 2018 10:29 AM
    Friday, February 09, 2018 9:01 AM
  • Nor should you do this in the Trusted Sites zone. SharePoint sites where you need automatic logon functionality should be in the Intranet Zone.

    These zoning configurations can be set via Group Policy applied to machines.


    Trevor Seward

    Office Servers and Services MVP



    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Friday, February 09, 2018 3:24 PM
    Moderator
  • Hi , 

    i came across potential workaround before , you can do it as the following : 

    add script editor wepart and write js/jquery script and make it load firstly , in this code redirect to the following URL

    http://sharepointsite.example/sitecoll/site/_layouts/closeConnection.aspx?loginasanotheruser=true&Source=http%3A%2F%2Fsharepointsite.example%2Fsitecoll%2Fsite%2F

    the secret is behind calling CloseConnection.aspx page from the layout , apply it please and let me know if u need any help


    Best Regrads, Ahmed Madany MCTS @twitter http://twitter.com/ahmed_madany @Blog http://ahmedmadany.wordpress.com @LinkedIn http://eg.linkedin.com/pub/ahmed-madany/35/80/2b6

    • Marked as answer by pointtoshare Thursday, February 15, 2018 10:29 AM
    Friday, February 09, 2018 1:43 PM

All replies

  • Hi,

    You can achieve it through IE's settings.
    In the IE, click tool button, select Internet Options, select Security, click Custom Level.
    Pull the page to the bottom, you will see the following picture:
     
    Select the Prompt for user name and password.

    Best Regards,
    Carl Zhou

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    • Marked as answer by pointtoshare Thursday, February 15, 2018 10:29 AM
    Friday, February 09, 2018 9:01 AM
  • Hi Carl,

    Thanks for your response. This is way but I cannot do this for every individual user. Is there any thing I can do centrally, i.e. in SharePoint server?

    Thanks in advance.

    Friday, February 09, 2018 10:46 AM
  • Hi , 

    i came across potential workaround before , you can do it as the following : 

    add script editor wepart and write js/jquery script and make it load firstly , in this code redirect to the following URL

    http://sharepointsite.example/sitecoll/site/_layouts/closeConnection.aspx?loginasanotheruser=true&Source=http%3A%2F%2Fsharepointsite.example%2Fsitecoll%2Fsite%2F

    the secret is behind calling CloseConnection.aspx page from the layout , apply it please and let me know if u need any help


    Best Regrads, Ahmed Madany MCTS @twitter http://twitter.com/ahmed_madany @Blog http://ahmedmadany.wordpress.com @LinkedIn http://eg.linkedin.com/pub/ahmed-madany/35/80/2b6

    • Marked as answer by pointtoshare Thursday, February 15, 2018 10:29 AM
    Friday, February 09, 2018 1:43 PM
  • Nor should you do this in the Trusted Sites zone. SharePoint sites where you need automatic logon functionality should be in the Intranet Zone.

    These zoning configurations can be set via Group Policy applied to machines.


    Trevor Seward

    Office Servers and Services MVP



    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Friday, February 09, 2018 3:24 PM
    Moderator
  • Dear Ahmed,

    Thanks for your response. Your URL works fine after login to the site when page has been loaded. It woks for those who already logged in to the site. But, in my case, user should get it before login. The users will be asked for credential when ever they click on the site url.

    Thanks in advance for any idea.

    Friday, February 09, 2018 7:01 PM
  • Hi Trevor,

    Thanks for your replay.

    Could you please explain a bit how to do it? Because, I don't want to do it on client side as I cannot reach each and every user to set it up on their machine.

    Thanks in advance for any idea.

    Friday, February 09, 2018 7:03 PM