username and password in database or in script?

  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

which is better and safer to place/stored the username or password when login is in database or in script? :?: :tempertandrum:
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

I made a websites that require only the admin can change and edit or delete some profiles so i decided to put a security a password in some page of my sites..now my question is which is better to put the password in database or in script .?
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

It depends on what script you mean if you are talking about JavaScript (I know you are probably not but you get my point) its not that safe but if its in php (or any other server-side code then you will be okay) I must say I don't quiet get why you would store the pass in a database apart from anting else you have to have a table just for that one password so its a bit of a waste of time and memory.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Well, the password to access the database has to be stored in the script somewhere, doesn't it?
  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

but its much easier to change the password in database in case you want to change it. :D
  • AdamC
  • Beginner
  • Beginner
  • User avatar
  • Posts: 38

Post 3+ Months Ago

It's more in the design than anything regardless of whether you use DB or script (server-side).

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 35 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.