how we block all users from viewing our site through development


Yes, you can do it by accessing htaccess file and put there in .htaccess file
deny from all
that would deny all accepts made to your website and they would get nothing for viewing and it is nice feature when we
want that o othe rone can access us.
and never put anything there like “. /0 ” etc. for nothing
and put there

Easy htaccess tutorials