ShoeLace1291 Posted May 7, 2015 Share Posted May 7, 2015 I am currently in the process of developing a very simple CMS for my personal website. There will be no member login accounts but I will still need to have an admin panel which I can manage my content from. I would of course be the only person accessing this area. My issue is that I need a secure way to store a login password without the need for an extra database table. How unsecure would it be to store this password in a class variable that I can access throughout my CodeIgniter controllers? Can you think of any other ways to do this that would be more secure? Thanks for your time. Link to comment Share on other sites More sharing options...
justsomeguy Posted May 11, 2015 Share Posted May 11, 2015 It should generally be fine to store things like that in a variable, as long as that code can't be printed or anything. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now