SharePoint Blog post should be available only for two hours each day

Posted on 2011-05-11
Last Modified: 2012-05-11
I have a blog site created in SharePoint 2007. I have a post on this blog where users are allowed to post questions and get replies. However my requirement is that this post/reply should be enabled only for 2 hours in a day, let's say from 11:00 A.M. to 01:00 P.M. and the rest of the day the users should not be able to send any posts/queries/questions etc.

What shall I do in SharePoint 2007 to achieve the same?
Question by:mshaji
    LVL 5

    Expert Comment

    Do you have an ISA server or Forefront server ?I would setup an access policy for that site.

    Otherwise I can't see how you would do that in sharepoint unless you wrote a script to removed and then add permissions for the blog.

    Author Comment

    Thank you Chris for your reply.
    Actually we don't want to disable the permissions for the users on that blog. However the only thing we need to stop them sending questions or post questions on that blog. For e.g. what if we disable the OK button for these hours and enable it only for two hours.

    If you or others think that this is a feasible solution then please let me know how to do it or refer to me some links.

    Thank you
    Best regards
    LVL 51

    Accepted Solution

    This can only be solved by writing custom code.  Either an custom event handler to determine if the event can be fired during those hours or a custom timer job to lock/unlock the list at specified times.  SharePoint 2007 doesn't have any native way to configuring a list based on a schedule.

    Author Comment


    Ok team. Thank you so much for your comments. Started custom coding on it.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!’s Console is a great tool to view activities, leads, contacts, accounts and opportunities all in one screen. It is particularly effective during call blocks and working numerous activities at a time in a quick, repetitive fashion (suc…
    Know what services you can and cannot, should and should not combine on your server.
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now