Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
tramontina de klerk
597 PointsSecure registration and login page.
Which would be the best method to create a secure registration and login page? I originally thought that PHP would be the best but I was told that PHP is not secure. What language/s would be best? What does TeamTreeHouse Use?
1 Answer
Codin - Codesmite
8,600 PointsPHP is secure.
PHP is only not secure when bad programmers do not know what they are doing.
I personally would use PHP and make sure to setup SSL certificates and HTTPS so that your data is not intercepted whilst bouncing between your users and your webserver.
This is a reasonable guide on making a simple and secure login/registration in PHP with mySQL: http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL
One key thing to make it even more secure would be to store your database login details outside of the root folder in a config.ini file.
As far as I know Teamtreehouse is built on a Ruby on Rails Backend with a Nginx Webserver.