Working with security with no database