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. Quote Link to comment 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 ??? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.