I have been looking online for some time to redirect http:// URL to https:// automatically. So when user request for cripperz.com it will be redirected to https://cripperz.com.
I will start this tutorial by telling you that it's wrong to restrict access to your visitors. Why would you want to do that?
Maybe you want to restrict spam bots - you should use captcha in this case.
Maybe you want to restrict certain users from accessing your web site...I recommend you to alter your database and just add a simple field to store the status in (1=active, 0=inactive).
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.