jeffjustice Posted July 7, 2008 Share Posted July 7, 2008 Hello! I am new to PhP and I need to make a simple login page. I searched the web for some tutorials and found this one: codervods.com/VideoPage.aspx?ID=915&&category=All I want to know if there is any way to hide the password for some users who have acces to the database. Link to comment https://forums.phpfreaks.com/topic/113521-beginner-help/ Share on other sites More sharing options...
darkfreaks Posted July 7, 2008 Share Posted July 7, 2008 why would users have access to the database ??? Link to comment https://forums.phpfreaks.com/topic/113521-beginner-help/#findComment-583319 Share on other sites More sharing options...
john-formby Posted July 7, 2008 Share Posted July 7, 2008 It is a bit dangerous to allow people to have access directly to the database. If people need to add / edit / delete data you should create a simple admin section. Link to comment https://forums.phpfreaks.com/topic/113521-beginner-help/#findComment-583352 Share on other sites More sharing options...
jeffjustice Posted July 7, 2008 Author Share Posted July 7, 2008 I mean database users, not site users. I wouldn't want them to see the passwords. Link to comment https://forums.phpfreaks.com/topic/113521-beginner-help/#findComment-583442 Share on other sites More sharing options...
gigas10 Posted July 7, 2008 Share Posted July 7, 2008 Once again, trust no one but yourself, and becareful about trusting yourself. DO NOT allow users to directly access a database table, this could result in some bad bad stuff. Just make a php page that does all the query's for them and either retrieves / inserts data into the table and display it nicely. Link to comment https://forums.phpfreaks.com/topic/113521-beginner-help/#findComment-583447 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.