How do you use usernames and passwords?

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
8 posts Page 1 of 1
Contributors
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Hello,

I need a FULLY EXPLAINED tutorial for this, not just code. I need explaining, because I want to use this. I've tried just looking at code, and I can't get it. So, please write out a tutorial if you want to help.

Now, what I want to do is allow people to create accounts (username and password), and it be stored online. So, they could be on another computer, and still log in. Please also tell how to use booleans, integers, etc. along with username and password (strings).

Thank you VERY MUCH if you help.

~GoodGuy17 :D
User avatar
upperdrag
Excellent Poster
Excellent Poster
Posts: 321
Joined: Fri Mar 12, 2010 12:05 pm

Use mysql :) youtube has tons of those tutorials :)
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Do you want something like this ? Download free it is my chat application that has "Create account", "Log in"and "Confirmation code - to e-mail" ! if you want something like that pm me :)
It took me about 1 hour to create that :) i'll also give you full explanation of the code, if you want ofc !
You do not have the required permissions to view the files attached to this post.
User avatar
bisnes_niko
Serious Programmer
Serious Programmer
Posts: 409
Joined: Tue Aug 24, 2010 1:21 pm

I may give you personal help through Skype. Just add me, bisnes_niko

Full explanation, and stuff you want to ask also the working functions...
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

That chat app seems a bit unsecure if the accounts are stored where everyone has FTP access. You could use a server side script like PHP instead, it can either store the information in a database or keep it in a file on the server.
User avatar
bisnes_niko
Serious Programmer
Serious Programmer
Posts: 409
Joined: Tue Aug 24, 2010 1:21 pm

mandai wrote:
That chat app seems a bit unsecure if the accounts are stored where everyone has FTP access. You could use a server side script like PHP instead, it can either store the information in a database or keep it in a file on the server.
Simple fix solution: Store the data into FTP folder where no on else has access without account and then obfuscate your program, so they cannot see your account credentials.
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Ok, but how can i use
Code: Select all
Dim pageRequest As HttpWebRequest = CType(WebRequest.Create(url), HttpWebRequest)
to read data from ftp server :/ ?
I am using this to read stream from .txt file on site :/
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

No amount of obfuscating will secure the FTP protocol over a public network.
read stream from .txt file on site
You can use:
Code: Select all
        Dim pageRequest As FtpWebRequest = FtpWebRequest.Create("ftp://localhost/file.txt")
        pageRequest.Credentials = New NetworkCredential("user", "password")
        pageRequest.Method = WebRequestMethods.Ftp.DownloadFile

        Dim resp As FtpWebResponse = pageRequest.GetResponse()
        Dim sr As StreamReader = New StreamReader(resp.GetResponseStream())

        Dim data As String = sr.ReadToEnd()
        sr.Close()
        resp.Close()
        MsgBox(data)
8 posts Page 1 of 1
Return to “Tutorial Requests”