If you set up your project to not require login, you can then secure certain pages as in the thread below:
Summary:
- Add view permissions to the views you need to secure to prevent unauthorized users from being able to see them.
- Add a login button to a header so users can log in, or use the script in the linked post to automatically bring up the login page on certain views.