Locking my Programs

This is a discussion on Locking my Programs within the C++ Programming forums, part of the General Programming Boards category; Hey guys, I have been working on a new program for sometime now, the features it contains and executes properly ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    34

    Locking my Programs

    Hey guys, I have been working on a new program for sometime now, the features it contains and executes properly are:

    Key Logging (Writes everything that has been typed ever since the program began.)
    Star Trader (Changes * in a password field to the character typed.)
    MSN Port Define (Looks up any MSN Hotmail account, then finds the IP Address from the computer the account was created.)

    The feature that I cant seem to fix, which by the way will finalize my program is:

    Program Lock (Locks programs listed by the user, therefor who ever wants to use that certain program would need to type in the password to access it.)

    I have been working on that specific feature for 2 weeks and it wont seem to work so if anyone can help me re-do a simple code for it, using DEV CPP it'd be great, thanks.

    - Houssen

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,537
    I don't think that's possible unless you manually set file permissions to "deny" then to "allow", but that's just a workaround.
    Another would be API hooking to hook the "execute" APIs and look for your app, then prompt password and deny if wrong. Otherwise pass on API.
    This is all I can think of to make it possible.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Banned
    Join Date
    Nov 2007
    Posts
    678
    are you writing a virus like program?? i don't know much about virus myself, but your program description is *suspicious* a best.
    but then i think its the use or misuse not the program itself to be blamed for any harm done!

  4. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    It's not a virus, I am an experienced programmer in most code, look up www.BYOND.com that website has its on coding program I am a MASTER at that, same with TORQUE GAME ENGINE, look up www.garagegames.com and you will find it there. But this is very odd because it doesnt allow me to actually activate it.

  5. #5
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,299
    Quote Originally Posted by Houssen View Post
    It's not a virus, I am an experienced programmer in most code, look up www.BYOND.com that website has its on coding program I am a MASTER at that, same with TORQUE GAME ENGINE, look up www.garagegames.com and you will find it there. But this is very odd because it doesnt allow me to actually activate it.
    Refering to a few other sites like those means absolutely nothing. You've provided no evidence of you having ever written anything decent. All the things you describe sound very dubious.

    Quite frankly, I'd say that anyone who has written, or is writting, or even just wants to write, a keystroke logger can go to hell!
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 06:32 AM
  2. Problem using java programs within C code
    By lemania in forum Linux Programming
    Replies: 1
    Last Post: 05-08-2005, 02:02 AM
  3. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 04:42 AM
  4. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM
  5. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21