I have administration part of my web site. But it will have only one user who will login in the page.My question what is more safely from attacks ? The user and password to be stored in mysql database or directly in .php file ?
ultras1
0
Newbie Poster
Recommended Answers
Jump to PostA database would be more secure.
If your PHP compiler stopped working for any reason, your PHP code yould be displayed as plain text, meaning that your password would be visible.
However, if you have it in a database and the compiler stops working, then the user will …
Jump to Postencrypting the password before storing it to the db is also a good security measure.
All 8 Replies
Will Gresham
81
Master Poster
network18
15
Practically a Master Poster
hemgoyal_1990
5
Junior Poster
ultras1
0
Newbie Poster
ultras1
0
Newbie Poster
hemgoyal_1990
5
Junior Poster
Will Gresham
81
Master Poster
smartness
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.