/    Sign up×
Community /Pin to ProfileBookmark

PHP Login Security

I was wondering if anyone could provide me with any information regarding how secure a php login screen would be. And how to make it most secure

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@pyroNov 16.2003 — It's as secure as you make it. ? A few basic rules to follow would be to make sure you encrypt the passwords; make sure that you do data scrubbing on any user input; make sure your script does not have any holes that will allos hackers access (obviously!), etc.
Copy linkTweet thisAlerts:
@-kde-Nov 16.2003 — Encrypt passwords with md5 and store'em with logins in database. After user's logon encrypt entered password with md5 and put login and password hash into PHP session and redirect user to secured section. Every page in secured section must include module with password checking where script compares user's data in session with user's data in DB. Don't forget to forbid user in case of database connection error...
×

Success!

Help @loki22 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...