Mirage Source
Complete Boredum Security idea*tested on MS4* - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13)
+------ Thread: Complete Boredum Security idea*tested on MS4* (/showthread.php?tid=2290)



Complete Boredum Security idea*tested on MS4* - Faild - 24-10-2008

This is great if you want to have a GM Client and a Public client
So even if someone got ahold of a GM account user/pass they would still need a client without this code to login =P
Very easy to install

Open frmLogin
Double click Connect label
change it to look like this
Code:
Private Sub lblConnect_Click()
'makes it so no one using the client can login with this username
If txtName.Text = "Username Here" Then
frmWarn.Visible = True
Else
    
    If LenB(Trim$(txtName.Text)) > 0 Then
        If LenB(Trim$(txtPassword.Text)) > 0 Then
            Call MenuState(MENU_STATE_LOGIN)
        End If
    End If
    End If
End Sub

Code for frmWarn
Make a Form add label or w/e for the text you want the warning to say size it and do w/e
make a Command Button and name it ok
copy/paste and ur done
Code:
Private Sub ok_Click()
Unload Me
End Sub



Re: Complete Boredum Security idea*tested on MS4* - wickedsix - 24-10-2008

Nice code Faild.


Re: Complete Boredum Security idea*tested on MS4* - Faild - 24-10-2008

i have a way more advanced 1 then this for myself so its easier but this does the same thing =P


Re: Complete Boredum Security idea*tested on MS4* - deathknight - 24-10-2008

That would work... Until someone decided to decompile the client and change it. You would need some a version of some sort somewhere in the client thats different than the admin client, and add a server side check to compare the versions (how I would do it anyways).


Re: Complete Boredum Security idea*tested on MS4* - Faild - 24-10-2008

i did it just for something to do i was bored


Re: Complete Boredum Security idea*tested on MS4* - GIAKEN - 24-10-2008

What if that person wants to get on and it's not a hacker? :|


Re: Complete Boredum Security idea*tested on MS4* - Mattyw - 24-10-2008

GIAKEN Wrote:What if that person wants to get on and it's not a hacker? :|

Quote:This is great if you want to have a GM Client and a Public client



Re: Complete Boredum Security idea*tested on MS4* - William - 25-10-2008

GIAKEN Wrote:What if that person wants to get on and it's not a hacker? :|
Why would he want to enter the admin account?


Re: Complete Boredum Security idea*tested on MS4* - GIAKEN - 25-10-2008

I was saying if it was the actual GM that wanted to get on, but then I realized they made separate .EXEs.