Yup. There needs to be more than just a popup.
It depends on what you are securing though. If you are talking about data in your database, more is needed. Aka, Privacy Settings, etc.