I have a ecommerce system that i wrote by myself.
I have a table “admin_table” in this table i store admin username and admin password.
I use this system only for myself – but i want it to be super secure – will it be better to set username and password hardcoded-inside the code or to keep with the current method? what will be the best way to secure it?
I have a ecommerce system that i wrote by myself. I have a table
Share
If you need to be super secure, I think both way will not do what you expect.
Because hard-code in your code means, anyone who read the code can obtain your password.
Saving the password as a database field is again not a very good way in terms of security.
If you can save the password in a
encryptedmanner or use something likemembership providerwhich do the encryption for you.You might need to look at Introduction to Membership and
Create a Custom Membership Provider