0

I have one internet publishing SharePoint Site. How to restrict the server login Prompt and redirect to home page of application

For example i have my site:

https://*****/products/pages/default.aspx when I remove default.aspx from above URL in browser it shows authentication for user ,here what I required instead of show login prompt how to redirect to home page of site.

My requirement is login prompt should not show to anonymous users and also anonymous users should not view any pages library and _layouts folder pages.

Here just i want to redirect to home page instead of showing login prompt because this site is published to internet and for security reasons (possibility to brute-force-attack for example) we don't want to show login prompt to users

enter image description here

1
  • I'm not sure that I fully understand your question, but until the user logs into SharePoint they will get a login prompt. Nov 23, 2020 at 16:53

1 Answer 1

0

If you want users to be redirected to the home page of the site without a login prompt, as a workaround, you could enable Anonymous Access for the site.

For detailed steps, please refer to:

https://www.sharepointdiary.com/2014/05/how-to-enable-anonymous-access-in-sharepoint-2013.html

-------------------------Update----------------------------

Per my test, please deactivate "Limited-access user permission lockdown mode" site collection feature to make anonymous users could access pages library.

enter image description here

Currently, when you type the url like:https://mywebsite/products/pages/, there will be no login prompt.

6
  • Hi this is internet publishing site and Anonymous access is enabled Nov 24, 2020 at 8:21
  • I have updated my reply, please check it.
    – Julie_MSFT
    Nov 25, 2020 at 9:00
  • Hi thanks Julie but my requirement is login prompt should not show to anonymous users and anonymous users should not view any pages library and _layuts folder pages. Nov 26, 2020 at 7:21
  • I am afraid this is a contradiction and couldn't be achieved.
    – Julie_MSFT
    Nov 26, 2020 at 7:40
  • This site is published to internet and for security reasons there is no login prompt should appear to anonymous users and not view any pages library pages Nov 29, 2020 at 7:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.