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

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.