All Questions
Tagged with mysql authentication
24
questions
2
votes
1answer
7k views
Python Tkinter login GUI with database
I created a simple login program that works how I wanted them to work. I separated the GUI and database codes into two different python files. I named the files as login.py and dbaseManip.py. The ...
5
votes
4answers
226 views
Java methods to add and authenticate users in MySQL
I'm going through some code and trying to figure out how to get rid of duplicates from the following two methods. Both methods execute a simple login/register query to a local MySQL DB. I couldnt ...
4
votes
1answer
19k views
Basic object-oriented PHP login, logout, and registration scripts
I am new to OOP in general and have recently started trying to develop object-oriented PHP code instead of relying on a primarily procedural style, as this is a requirement for my studies. One part of ...
1
vote
1answer
642 views
Using encryption/hashing to create a secure login
I am creating a login for an encrypted chat application which retrieves login information from a MySQL database. I have got to the point where I feel pretty confident that (to the best of my knowledge)...
6
votes
6answers
25k views
Username, Password and UserType Validation
I have two tables in the database:
Credentials (userid, password, usertype)
Customer (...
0
votes
1answer
103 views
PHP/MySQL login
I just wanted to ask if this is a secure code (doesn't really matter if it's optimal or not)
The code
...
8
votes
1answer
45k views
Simple login system using Python Flask and MySQL
I've made a login page using Python Flask which works with MySQL. I started learning Flask 2 days ago and it was fun, so I came up with this:
...
3
votes
1answer
136 views
PHP Login and registering system
I am currently learning PHP and decided to write a login and registration system to learn about error handling, mysql, password hashing and basic queries.
I know there's standard authentication ...
2
votes
1answer
1k views
PHP Login script getting bypassed allowing access to my admin pages
I have a site where a friendly hacker says they have accessed my admin area. I am not able to see how this is possible so any help would be greatly appreciated. I am using PDO prepared statements to ...
4
votes
6answers
12k views
7
votes
1answer
12k views
TCP authentication server and client
This is the first time I'm dealing with C# as I'm accustomed to Java sockets, so I do want your full review and anything you think I can accomplish better or optimize in the code will be very ...
8
votes
5answers
759 views
Securely handling a password protected application
I have some small applications that I want to secure. I've been using the following setup that I think is fairly safe, but I've never been able to set my mind at ease that it really is. Could you ...
3
votes
3answers
715 views
PHP-MySQL sign-in and sign-up project
I have done my first PHP-MySQL project with MySQLi connection. Please review this and inform me about security and performance issues.
dbconnect.php
...
3
votes
4answers
7k views
User registration and authentication in PHP and PDO
Please criticize as thoroughly as possible, even the smallest thing will be very useful for me.
I'm trying to create a safe and easy system to change for future projects. I am aware that it should ...
5
votes
1answer
3k views
PHP secure login script
I was just wondering how secure my code looked and if I'm overlooking any serious mistakes. Any suggestions/critiques are welcome.
This is my relevant login script.
login.php
...
6
votes
2answers
295 views
Password recovery program
This is a password recovery program I made, and I just want it checked out.
These aren't all the files for the login and register system, only the password recovery part. The columns in the ...
1
vote
0answers
508 views
Login authentication model
I have made my model global so that I can work only a model with several controllers. Is it good or bad practice? And according to this, is my login process secure?
Login check function in Controller:...
6
votes
2answers
3k views
User Authentication/Permissions for PHP MySQL CRUD
I took my first stab at a user authentication function. I invented my own way of doing this. Is this a safe and efficient way of giving a user Read/Edit/Delete permission on tables in a MySQL database?...
8
votes
3answers
624 views
Comments in PHP authentication system
Leaving aside absolutely everything about the code itself (but if you find stuff that's not ok feel free to comment on them).
What I'm asking here is the following:
Is my code properly commented? ...
9
votes
1answer
2k views
Login system based off of another site
I have created a PHP login system based off of this site. My main concern is: Is it secure? I chose that because to me it looked secure, but a 2nd or 3rd opinion never hurts. The idea of the project ...
5
votes
1answer
3k views
PDO Login/Register system I've been working on
I'm relatively new to PHP and programming as whole. I'm sure my code could be better in a lot of ways, most of which I can't fully grasp at the moment. As it stands I'm trying to avoid the general ...
12
votes
6answers
3k views
Efficiency with strcpy, strcat and malloc
I'm still learning C, but I'm trying to make sure I've got a decent grasp on working with "strings" and data structures.
If possible, I'd like a little input on how I'm handling this and see if
it ...
4
votes
2answers
715 views
Simple login system
I'm pretty new to PHP and programming general so I'm quite sure my code is an absolute mess. My goal is to write good code, that others can understand just by looking at it.
This is a simple login ...
6
votes
2answers
417 views
Preventing SQL Injection in user registration routine
At the moment is my code secure for SQL injections and so forth? I still need to hash passwords and make sure fields are valid and so forth.
...