Go Back   Gaming Gutter > Non-Gaming > Programming > Tutorials


Tutorials - Looking for programming tutorials to increase your knowledge? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» GG Stuff

Follow us on Twitter!

Get the GG toolbar today (for firefox only)
» Recent Threads
Go to first new post Random rant.. Kinda.
Yesterday 09:59 PM
by Zombie
Last post by Zombie
Today 03:27 PM
7 Replies, 60 Views
Go to first new post Wanting criticism on...
Yesterday 04:43 PM
by PRESET
Last post by ♠♥Accent♥♠
Today 03:22 PM
2 Replies, 33 Views
Go to first new post Can you do the...
Yesterday 05:46 PM
Last post by magic fiend
Today 03:12 PM
2 Replies, 34 Views
Go to first new post ~ The Official Hash...
11-06-2009 10:56 AM
by mehike
Last post by shadyangelz
Today 03:10 PM
884 Replies, 19,994 Views
Go to first new post What are you currently...
09-12-2008 03:16 PM
by Ocean
Last post by Ruzzeh
Today 02:11 PM
2,946 Replies, 23,805 Views
Reply
 
LinkBack Thread Tools Display Modes

 Basic Program Authentication + Leak Protection [TUT]
Old 11-04-2009, 07:32 AM   #1 (permalink)
Banned

Male Vorfin is offline
 
Join Date: Nov 2009
Age: 19
Posts: 10
GPoints: 709
iTrader: 0 / 0%
Vorfin Is a New Face in Town
Rep Power: 0
Basic Program Authentication + Leak Protection [TUT]

Well guys, I'm new here. This is one of my many tuts i already have up on a few other forums. Here goes.
// This tut is for VB.NET.
What you need:
  • Your Program,
  • Webhosting (I use 000WebHost)
  • FileZilla,
  • Basic HTML knowledge. (Just kidding, you just need to be able to copy and paste)

OK, make an account at 000WebHost, and then download FileZilla (Or any other FTP client)

Next, open notepad, and write this in.
Code:
<head>
<body>
Name of person using program
</body>
</head>
Now save it as "PersonsName.html" So say you sold me a program, it would be.

"Vorfin.html"
Code:
<head>
<body>
Vorfin
</body>
</head>
Now, open FileZilla, and enter your FTP information (Available from your cpanel at 000WebHost") And upload the .html file into the "PublicHTML" Folder.

Right, now if you go to "yourdomain/vorfin.html" (Or whatever the file was called) It should just be a white page with their name on it.

Now, open up your project, and add this in the form_load.

Code:
WebBrowser1.Navigate("http://vorfin.netai.net/Vorfin.html")

        If WebBrowser1.DocumentText = "Vorfin" = True Then
                        Your Normal form_load code here.


        ElseIf WebBrowser1.DocumentText = "Vorfin" = False Then

            MessageBox.Show("This Copy Has Been Cut Off!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning)

            Me.Close()
        End If
Now, what that does, is go to the webpage, and if it says the specified text, opens the program. However, if you find someone has leaked a copy, then you can just remove the webpage, or change the text. That way, the program wont load for anyone using a leaked copy.

I know, not very advanced but, it's simple, yet effective, I hope it help some people =)

Last edited by Vorfin; 11-04-2009 at 07:38 AM..
  Reply With Quote

 
Old 11-08-2009, 04:11 PM   #2 (permalink)
G3
I don't never troll

G3 is online now
 
G3's Avatar
 
Join Date: Jun 2009
Location: live? wut.
Posts: 6,914
GPoints: 16,756
iTrader: 0 / 0%
G3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYY
Rep Power: 30
Yes this does work but it can be easily cracked.

If you are releasing a complicated program I suggest making your auth a bit more complicated, though nice tutorial.
  Reply With Quote

 
Old 11-14-2009, 10:08 AM   #3 (permalink)
Full Member

Undisclosed HiddenBot is offline
 
HiddenBot's Avatar
 
Join Date: Jun 2009
Posts: 101
GPoints: 819
iTrader: 1 / 100%
HiddenBot Is Popular
Rep Power: 3
Heh, this is a fail.
Modifying the hosts file can bypass this method in seconds. It can bypass any method really which is what sucks.
Since you can view the page info, it will reveal your URL.
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 03:31 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.20308208 seconds (100.00% PHP - 0% MySQL) with 21 queries