wazza1818 Posted June 12, 2008 Share Posted June 12, 2008 I have an admin section on my site which only needs to be accesed by one person. Is there a way to 'hardcode' a password into a php document and is this secure. Also how do you go about making your site secure ie. so you get the https in your url. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/109833-making-a-fixed-password/ Share on other sites More sharing options...
Nexy Posted June 12, 2008 Share Posted June 12, 2008 SSL is one way: http://en.wikipedia.org/wiki/Secure_Sockets_Layer Link to comment https://forums.phpfreaks.com/topic/109833-making-a-fixed-password/#findComment-563641 Share on other sites More sharing options...
corbin Posted June 12, 2008 Share Posted June 12, 2008 wazza1818, google the following things.... HTML forms $_POST php sessions Link to comment https://forums.phpfreaks.com/topic/109833-making-a-fixed-password/#findComment-563656 Share on other sites More sharing options...
xtopolis Posted June 12, 2008 Share Posted June 12, 2008 Also, The server to enforce the HTTPS and well as non WWW accessible directories (such as to store a file with the password in it). Link to comment https://forums.phpfreaks.com/topic/109833-making-a-fixed-password/#findComment-563720 Share on other sites More sharing options...
GingerRobot Posted June 12, 2008 Share Posted June 12, 2008 Whoops. I suppose I should read the question before posting, no? Link to comment https://forums.phpfreaks.com/topic/109833-making-a-fixed-password/#findComment-563724 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.