Not allow public to View All Site Content
hi,
In my sharepoint 2007sh internet website, public user able to view the site content like documents library, etc.
eg, public user enter the url http://www.xx.com/documents/forms/allitems.aspx, public user able to view all the item. How to restrict user cannot view the site content? When user enter the url, the credential
will be prompt out.
the extended internet website, i allow anonymous access right to entire website.
any idea?
thanks..
July 14th, 2010 12:29pm
Dont remove this option otherwise you may face some problem to find site content. You can do one more thing..Add a content editor webpart on page and write below script
<script type="text/javascript"> var returnVar = document.getElementById("ctl00_PlaceHolderLeftNavBar_idNavLinkViewAll"); returnVar.style.visibility = "hidden"; </script>
This will hide the "View All Site Content" Option.
Cheers, Hemendra-MCTS
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2010 2:31pm
Hi Manvir,
1. there is little bit difference for best practice. If you remove the control from master page then you can never get back the same functionality again except copy / paste from other master page. If you do this then you can't see viewlsts.aspx page, which
is use for admin work.
2. He is not mentioned the pages or sub sites in his post that's why i suggested this script. If there are no. of pages or sites then he may remove the control from master page.
By the way your solution is also good.
Cheers, Hemendra-MCTS
July 14th, 2010 3:01pm
Hi Manvir/ Hemendra,
I think the title is misleading and limkp concern is not to just hide "View all Site Contents".
"eg, public user enter the url http://www.xx.com/documents/forms/allitems.aspx, public user able to view all the item. How to restrict
user cannot view the site content? When user enter the url, the credential will be prompt out."
Regards.
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2010 3:01pm
Hi LimpKP,
Can you give more clarity on your requirement.
thanks rohit to point out this.Cheers, Hemendra-MCTS
July 14th, 2010 3:06pm
See you can only hide the "View All Site Content" as manvir and me told you before. If user access the view all site content through browser then he will be able to see only authenticated content.
For Example:
if the user does not have rights to say "Announcements" then that list will be not be included in "View all site content". If they see it there, then they already had rights to it. So it's not a problem with View All Site Conent,
it's how your set up your security for the lists and libraries (and subsites). You cant set the permission for this option.
I hope you are more clear now. If you are still having any issue then let me know.
Dont bother about "view all site content" option.Cheers, Hemendra-MCTS
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2010 12:04pm
hi,
when i go to this site,
http://www.nottingham.edu.my/_layouts/viewlsts.aspx, it will prompt the credential.
i want to do this, may i know how?
thanks..
July 15th, 2010 12:15pm
Ok, i have some questions
1. Have you tried to open your site outside your network?
2. Whenever you open your site in outside network then do not log-in with the admin account
This site has enabled the anonymous access for all layout / sharepoint pages. It is asking for credential because of different network.Cheers, Hemendra-MCTS
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2010 12:36pm
Microsoft Office SharePoint Server 2007 (MOSS 2007) comes with a built-in feature to prevent access to pages in the /_layouts/ folder and all views & forms.
It is called "ViewFormPagesLockDown " but it is not visible in the SharePoint 2007 UI.
The following article has a good overview how to activate this feature:
http://sharepointsharpener.wordpress.com/2008/08/28/viewformpageslockdown-does-not-kick-in/
Since you didn't mention if you use Windows SharePoint Services (WSS) or MOSS, I assume when you mentioned "SharePoint 2007" in your original post you actually meant MOSS 2007.
Hope that helps...Cheers,
Sig Weber
If you want a smart answer, ask a smart question http://catb.org/~esr/faqs/smart-questions.html
Smart developers always view source.
July 15th, 2010 6:33pm


