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

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

Top link bar security for sub-site owners

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :SharePoint

We're designing a new Intranet in our Sharepoint 2007 (MOSS2007?) and have about 20 sub-sites all with unique permissions (no inheritage from the parent).
The links in the top link bar were created automatically when creating the subsites.  All subsites have unique permissions.

Users who are in the visitor group of some of the subsites only see the links in the top link bar where he/she has access to - just like it should, all is well.
But when a user is an owner of a subsite, he sees ALL the links in the top link bar - even those where that user isn't even in the visitors group.  When clicking a link in the top link bar to a subsite he/she doesn't have access to, an "access denied" message is displayed.

What do I have to do so that site owners also only see the links in the top link bar to those sites he/she has access too?

View Complete Post

More Related Resource Links

Asp.net web site security database


Hello all, I'm new to asp.net and I'm currently practising some few stuffs. I'm creating a hotel reservation system using ASP.net Web site in visual studio 2008 and I currently don't have an App_Data in my solution explorer unlike visual web developer.

1. I have planned to make users of the website login before making their reservations.

2. I have also planned to develop the website such that I will be able to know all reservations made by each user.

First and formost, I will like to know how I can access/View the security database?

Secondly, how do I link my custom made reservation database and the security database in order to achieve my second plan above.?

Someone help me.

Thank you.

Security Briefs: Protect Your Site With URL Rewriting


Learn the numerous ways in which you can rewrite URLs to defend against common Web vulnerabilities.

Bryan Sullivan

MSDN Magazine March 2009

Redirect to Security Questions if Site accessed from unrecognized computer?


I'm fairly new to ASP.NET and i'm using the Membership Provider.  I have the need to do similar to some banking sites. Baically I need to track "authorized" computers/ip's for a user.  If the user accesses the site form a recognized Computer/IP then the user is allowed into the app after successful login.  If the computer/IP is not recognized I need to redirect them to a screen to answer the security question setup in fhte Membership Provider.

Has anyone done anything like this or can anyone point me to any examples?  I did a search, but can't seem to find anything.

My idea is to maintain a list of authorized computers/IP addresses and check them on initial login.  If the IP address isn't found I can redirect them to the questions.  My concern is that they are then actually authenticated and could enter any of the site URL's as an authenticated user.

Any suggestions greatly appreciated. 

My site link on my home page.



One of the user got My owa link in place of my site on the my home page ( go to my site --> my home --> top right corner shows My owa insead of my site ) and he wants to edit that my owa link now. first of all i dont know how he got that My owa link in the place of my site on my home page. When he surfs any other page than he is getting my site on all other pages. so he is just getting My owa link in place of my site only on the my home page.

At the first glanse, i think it would be master page issue but if that would be the case than it shold apply all the users but this is happening just for one user and we are not using custom master page.

Please help.


Problem using an action to link to a report in another site

Hi ! I'm using SSRS 2008 with WSS 3.0 (integrated mode) and I want, from a report in a site A, to link to a report in a site B. I'm using the full path to the report and when I paste it in a browser, it correctly shows the report. When I click on the link of the action in the report from site A, a report (having the same name) from site A is displayed instead... Any help would be appreciated Thanks Paul

Cannot see top link bar when creating a Web Database site

Hi, I am new to Sharepoint 2010 and am very keen to start using the new Web Database site templates such as Asset Web Database and Issue Web Database. I am able to create these without issue however once i build and navigate to these sites i lose the top link navigation bar. For other sites such as Team Site this is not problem and the navigation site remains. Does anyone have any suggestions on how to show this navigation bar for these site templates?

Need link to parent site from subsites

We have migrated the 2003 site to MOSS environment and that site collection has around 100 sub sites.   In original site we had link to parent site on all sub sites of it.(that link is at right corner of the site)  Unfortunately this option got disappeared after migration to MOSS environment.  and  breadcrumb option also disappeared here we can manually add link to parent site on all subsites either at toplink bar or in mylinks colums but doing this in 100 sub sites is hectic job. We have tried out by making changes at master page by taking site collection masterpage but the changes which we have made not inherited to all sub sites  and also we have enabled the feature of publishing at parent and sub site level and tried to inherit the master page of parent site but it is not getting inherited. Is there any way we can figure this . thanks ..... Ram

Go Back to Site link missing in Error Page

hi,             i developed eventhandler where Properties.Cancel=true..takes to the defualt sharepoint error page. in this page i am missing go back to site link. how to set this link in the error page?   also can we set the link in the Properties.ErrorMessage="cannot update. please click here"+"<a href="+siteurl+"/>";   please help.  

My Site and Search Results Link back to Homesite

Hi, Just abouit finished my Sharepioint2010 portal and now cleaning up a few odds 'n' ends. If I click on My Site or People Search the resulting pages don;t allow you to 'Browse' back to the top level page of the Sharepoint site (ie. the Intranet Homepage). Although all my sub-sites have a 'Home' button aswell as the default S/Point home button on the top menu bar, MySite doesn't and I can't seem to add it. Any ideas ? Seems crazy that people can go into the MySite, navigate around but then have to type the server web address back into the Address bar to return from whence theyu came ! Cheers Ian

how to disable creation of security groups as part of site provisioning for out of the box

I have requirements that I would like to create the sites with no security groups. Add users with specific permissions levels. Is there a way to disable the step in the default site provisioning process for out of box templates, that not to ask for creating of the security groups..net Architect

Is there a way to obtain where in a sharepoint site a certain security group is used?

There is a sharepoint group that has been set up and is used throughout a single sharepoint occurance with many team sites and lists. It has orginated from AD and sent over to sharepoint with collection. The want to rename the group name. I have used it throughout the site. Is there a way to identify what sites and lists have been secured with this site so I do not have to go manually through site by site? Thanks, Angela

Display this site on the top link bar of the parent site, programmatically

Hi, Using the GUI to create a subsite you can configure ‘Display this site on the top link bar of the parent site’. How to do the same thing programmatically? PS. Can anyone confirm that the default behavior regarding this has changed from MOSS 2007 (true) to SP 2010 (false)?

programatically add link in site settings page through feature


Hi folks,

          Im newbie in SharePoint, we have created an Application  Page for Managing the WebPart Permissions. We need to add one link called "ManageWebParts"  in the site settings Page so that  the admin can go the site settings and  Navigate to the ManageWebpart.aspx Page using this link. How we can  add the link  through programatically using feature???


Your thoughts??



Thanks & regards


Dead Link still appearing on view all site content


I have deleted a meeting workspace template that errored as I was deleting it, the error was

Delete site operation cancelled by user.  Check the log files for additional details.

  The archive folder does not exist or is not properly configured.

Troubleshoot issues with Windows SharePoint Services.

  • the site is still appearing in the view all site content list, is there any way of forcing this dead link out of that view.

Missing Tabs and Site Settings Link in Report Manager


Installed SQL Server 2008 with Reporting Services to a Windows Server 2008 box.  Tried to open the Report Manager and had no tabs and no Site Settings link - just a blank home page. I am logged onto the server with local administrator rights, so it shouldn't be a permissions issue.

Thinking the installation was bad (IIS was not installed before installing SSRS), I uninstalled and re-installed SSRS after setting up IIS 7 on the server.  Still the same issue - just a blank home page in report manager with no ability to add users or assign roles or see anything except the links for "Home", "My Subscriptions", and "Help".

Any suggestions would be appreciated.

Hide View all site content link in Site Actions.


Hi all,

I had remove "View all site content" in left navigation bar, but i don't know how to hide "View all site content" link in Site Actions.

I don't want to hide "Site Actions", just to hide "View all site content" in "Site Actions" menu.

Any help is highly appreciated.



TreeView with custom site map(security trimming enabled)


Hi all

I am really having tough time fixing this issue, Can anyone please guide me on this..

Here is my situation, I am developing a Portal having 2 xml sitemaps(one for visitors and one for registered users)

Web.sitemap (default) and Loggedin.sitemap(securitytrimming enabled)

I am binding sitemaps to Treeview.When i enable my security trimming  for loggedin.sitemap  i am having these issues.

1.Sitemappath is going blank 2.Selected Node color is not changing. 3.Selected node is not expanding.

 Here is th
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