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

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

Take site offline for all users except administrator

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :SharePoint
Is it possible to take site offline for all users, but give admins ability to use and edit it? Maybe something like app_offline.htm, but not for all users. Thanks a lot.

View Complete Post

More Related Resource Links

Users (even site collection administrator) unable to see minor versions in document libraries


I have document libraries with the following settings: major & minor versioning enabled, checkout required & 'only users who can edit items' can see draft (minor) items. The problem is when a user uploads a document (the first document), the library appears empty. However, looking at the summary in 'view all site content' we see that the number of items in the list has incremented by 1. Typically, if the user selects explorer view they can also see the document they just uploaded.

Similar behaviour occurs using the 'New document' option. Before checking in the document for this first time it is visible in the library. If it is checked in as v 0.1 it 'disappears' if it is checked in as v 1.0 it is visible.

I have noticed that if I toggle the Draft Item Security setting by setting it to 'any user who can read items' then set it back immediately to 'only users who can edit items' that the previously hidden items become visible. And any new minor versions created subsequently are also displayed correctly. I can of course do this for existing libraries, but if new libraries are created based on my template this behaviour reoccurs.

Has anyone seen this before?

Site Skinning: Rich XML Classes Let Users Personalize Their Visual Experience on Your ASP.NET Site


One way that Web sites and applications become better able to meet the needs of customers is by allowing them to personalize their experience. For Web sites, this means displaying the content as the user wants to see it. For rich-client applications, this often means allowing the user to choose the user interface through a technique known as skinning, which is similar to themes in Windows XP. This article shows how you can apply skinning to Web sites, wrapping their functionality in a new user interface. The technique uses the rich XML classes in the .NET Framework and the built-in extensibility of ASP.NET.

Harry Pierson

MSDN Magazine March 2003

Create My Site for FBA Users Error


Hi Guys,

I am trying to create mysite for FBA Users programatically (FYIP: I have done all the configurations for FBA in SSP and mysite host and I am able to create mysite from UI for FBA Users). The problem exists only when I am creating MySite programatically!!!










How to stop unauthorized users from sending documents to a Records Center site?


I can't find a way to stop unauthorized users from sending documents to a Records Center site. Can someone please help me? Do i need to configure anything to restrict it to the members of the web submitters group?

I'm still using MOSS2007


The impossibility of doing things depends on your will to do it.

Code to get how many users are logged in to the sharepoint site

How to get the users of my sharepoint who are online.....

Thanx in advance,


EventReceiver does not fire for other users than Administrator


Hi all

My code adds a EventReceiver to some SPLists. When I log into Sharepoint as Administrator, then the EventReciever is fired.

When i log in as an other user, it does nothing.


My current code is this:

string assm = "Minimizer, Version=" + FileVersionInfo.GetVersionInfo(Root.Res.DLL).FileVersion + ", Culture=neutral, PublicKeyToken=d2d19387a15c363f";
          string cls = "MinimizerPlugin.Minimizer";
          l.EventReceivers.Add(SPEventReceiverType.ItemUpdated, assm, cls);
          l.EventReceivers.Add(SPEventReceiverType.ItemAdded, assm, cls);

What can I do to register this EventReceiver to all users?

Thanks for your help!!

How to find if users are visting my site using IIS?

Hello,I want to find out if users have visited my site in the last couple of days. i did not put Google analytics so I was wondering if there are any logs of IIS which log if a user has visited or not?Is this possible?Could you please provide some useful links?Thanks

All Users (Including Site Collection Admins) receiving Access Denied from one Site Collection

I usually spend my time in the forums answering questions.  But this time I need the help. I’ve got a client who somehow has succeeded in locking EVERYONE out of one of their Site Collections.  Users can authenticate to the site, but get an accessdenied page when you try to access anything in the site collection, including pages served from the _Layouts virtual directory.  The AccessDenied page shows that they are authenticated, but not authorized.  This is true for Site Collection admins and user’s who have been given Grant Full Control via a Web Application Permission Policy.  Central Admin and one other site collection are behaving normally.  I've already checked for database permissions - the service account can access the database fine. I've also checked for a locked database or overextended quota.  It's not that either. The accessdenied page url references the users list in the root of the site collection as the offending list denying access.   Does anyone have any ideas?Paul Stork SharePoint Server MVP

How to Hide "VIew All Site Content" for non administrator user

Hi, I want to hide "view all site content" for non admin user but that user can access the form libray.actually there is a workflow using form library. I ve edit the permission level to hide view all site content but now the user can not use form library. so how can it b possible.kindly suggest.Regards- Sharad

Script error in adding users in sharepooint Site

I seem to have a problem when trying to enter new users on a newly built site (SharepointSite). I cannot select the new user option the grant permissions dialog doesn't appear. I'm running MS office 2003 sp3 and ie 7 regards Alan Bateman.

Allowing internal users access to Sharepoint site externally

Good afternoon.   This may be a simple answer (I hope so actually) but I haven't been able to figure this out. What I need: I have internal users who can access my Sharepoint site easily while logged onto my network, and external users who I have added to our Active Directory system who can access the site using our external URL.  Both work fine. What I am having problems with:  One of my users (internal) is on a different AD (he is on our European network) and he can not access the site either from the VPN (when he is in the US) nor from the external site (it will take him to the logon screen, but since he doesn't have an account on our AD, it won't let him in). I understood from our European IS department that all we had to do was give him both internal and external access to the Sharepoint site, and he would be able to connect from anywhere. So, how do I do that (give him both)?  Do I need to have our IS team turn on MOSS2007 to do this (it is not turned on today). Many thanks, I am still a newb at Sharepoint, but trying to learn quickly. Thanks, Jim  

Same server farm administrator domain account for both Intranet and Internet Sharepoint site?

Hello,   We are planning to setup 2 streams of architecture for both Intranet and Internet web sites. Just wondering whether there is any best practices/security concerns if we are using the same domain account as the Server Farm Administrator for both Intranet and Internet platform?   Thanks,

Hide other AD users in Seperate Site collection.

I a am new to sharepoint as you can tell this is my first post. I have several site collections and each of them has its own OU's with users in them. What  I want to know is that is it possible to create a site collection and have users that logs in only see users within their own OU's and not other users in active directory.

I am a Site Administrator, but I do not see Site Settings or Edit Page menu from Site Actions

Hi, I have been using MOSS for over 2 years, but I have not even heard or seen this kind of situation. I am a Site Administrator, but I do not see Site Settings or Edit Page menu from Site Actions menu, and I typed in http://mysitecollection:portnumber/_layouts/settings.aspx to go to setting page manually and looked around there. I confirmed that I am the site administrator, but when I go to Advanced Permissions, I do not see any checkbox beside each users. So basically, I am a Site Administrator on the site, but I am really NOT! What is going on here!? 

No Site Collection Administrator selection in Site Settings

Just inherited a Sharepoint Site and noticed in the Site Settings in the Central Administration page doesn't have the Site Collection Administrator under Users and Permissions. The version is Standard not Enterprise. I would like to create more than 2 Site Collection Administators.

All users have "Limited access" to MOSS Site even Site Admins


hi All.

We are running MOSS 2007 Stand-alone server on server 2003 SP2.

We had perfectly running MOSS site with Document Libraries and Custom Lists with almost 10 subsites. 

Suddenly today no one can edit or upload any new items or documents.

Under "Site Permissions", all the users have "Limited Access" permission level including Site Admins as well.

I have logged in as Site Admin and "Edit user Permission" under "Site Permissions" is not available anymore.

I know its a security issue but is there any way I can reset the security settings on Parenet Site.

(All the the subsites inherit security from the parent site)

Users not sent to correct site


Hi, perhaps someone could help me with a problem. I have sharepoint 2003 running on a windows 2003 server as part of a deployment of microsoft learning gateway, it's set up with a hierarchical structure whereby there is a site for students and a site for teachers. Until today it was able to understand to which site you belong and redirect you to the correct site. This is based on the web site field in AD, teachers have a URL for their site and students one for theirs. Admins like me who have both URLs in AD get a page where we can choose which site. Thus meaning all users go to one url eg http://portal.schoolname.com and are then sent to either http://portal.schoolname.com/teacher or http://portal.schoolname.com/students or a page with both urls listed.

This has now stopped working, now they get a page saying


You cannot view this area, either because the area no longer exists, or because you do not have the rights to view this area. To change your rights, contact the site administrator. "

Going directly to the correct URL works but ideally i want it back the way it was. Any advice would be great.




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