Jump to content

Creating a secure login on public website domain..?


Chud37

Recommended Posts

Hello,

 

I just wanted some tips really and what people thought on the subject.  For alot of my PHP applications I create a user control panel to manage the back end SQL databases.  However these have to be hosted on the server and therefore I was thinking that they probably are not that secure.

 

As far as I secure them so far I use a password system, sometimes with usernames and passwords; that is then taken through a form via POST method and then verified that way.  I am completly aware is not that secure at all, so I want to up my game.

 

I was thinking that maybe password protected directories would help? However last time I used them I was being asked for the username/password everytime I submitted a form which wasnt convenient.

 

And what about session variables to store the user info/data/verify login? Is that secure enough?

 

Please help!

 

Thanks!

 

~Chud37

Link to comment
Share on other sites

Php sessions should not store more then a key. This key should then be used on every page load to fetch the required page information from a database, mysql,sqlite,etc. If some how your sessions directory is compromised, then there is no data leaked that should not be.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.