• Log in or sign up for an account here: https://www.sythe.org/login

Password Protection tutorial

  • Thread starter Thread starter Waffles
  • Start date Start date
W

Waffles

Guest
Password Protection tutorial
Objects Needed:
- Text Box
- Label
- Command Button
- Timer
Place All 4 Of The Above Object Onto Your Form

Properties:
Text1 - Text - (Empty)
Text1 - PasswordChar - *
Label1 - Caption - Enter The Password
Command1 - Caption - Try Password
Timer1 - Interval - 15000
Timer1 - Enabled - True
Form1 - Caption - Password

Coding:
Double Click On The Form & Input The Following

Code:
MsgBox("Time Expired") End

Double Click On The Command Button & Input The Following

Code:
If Text1.Text = "yourpassword" Then Timer1.Enabled = False MsgBox("Access Granted") End Else MsgBox("Access Denied") End If

The Above Coding Is Telling The Program That If The Password "yourpassword" (without quotes) Is Entered Into The Text Box, The Message "Access Granted" Will Appear. But If The Certain Password Is Not Correct, It Will Tell The User "Access Denied" And Also, A 15 Second Wait Is On The Form
 
Password Protection tutorial
Why Do You Type Like This? Also, this is a really bad way to do it and this has been posted SO many times before. SQL database is better by the way.
 
Password Protection tutorial
Why Do You Type Like This? Also, this is a really bad way to do it and this has been posted SO many times before. SQL database is better by the way.

Those are easily injectable, by using SQL injections. So please get your facts straigth before posting one someones thread.
 
Password Protection tutorial
Im sure this is easier to crack than SQL is to injected into.
 
Password Protection tutorial
Those are easily injectable, by using SQL injections. So please get your facts straigth before posting one someones thread.
Well, you're way pretty much sucks because there's no way to prevent the program from being leeched. I'd rather have that slim chance of SQL injections and still be able to sell the program properly.
 
Runescape Gamblingrunescape gambling
Back
Top