SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Need some pointer on the best way to implement this requirement in sharepoint

" The content on the sharepoint site is only accessible to the registered users, so when the users visits the site for the first time, we have to be redirect users to the registration screen. Once registers the regular home page should appear.

I think we have write a custom HTTP Module and plugin, I am from background so, I would like to know what is the best way to implement this requirement in the Sharepoint 2007.


share|improve this question
What is the authentication mechanism? Windows Integrated (NTLM/Kerberos) or FBA? – Mike Oryszak Jun 11 '10 at 3:44
Windows Integrated (NTLM), does it make any difference if its kerberos ?? – Anonymous Jun 11 '10 at 12:51
up vote 2 down vote accepted

I have done something similar, where we wanted certain meta data to be set by the user before they could use the intranet.

We did this by checking a user property when the user logged on. If the property was not set, we redirected to an application page where the user must select a value for the property before they could proceed. A similar approach could be used for registration.

Technically we did this as a delegate web control on the front page that used SPUtility.Redirect to redirect to the application page if the property was not set.

share|improve this answer
@Anders : Thanks for your answer, but I just have one comment on this; the code will be executed after the page is loaded, I think it would be better if used HTTPModule, any strong reason on the reason for using delegate control instead of a HTTPModule?? – Anonymous Jun 14 '10 at 19:15
I guess an HttpModule would impact more performance wise for all users. If you use a delegate control you only penalize the users who arent registered yet, since you do a client redirect. Also a delegate control gives you more flexibility if you only want it to be called on some pages not other. Finally a delegate control can be substituted with another control quite easily if you want to change the behaviour. – Anders Rask Jun 15 '10 at 6:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.