Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15

Thread: Is there a way?

  1. #1
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is there a way?

    ok, i dont take computer Science 1 untill next school year. I only know how to do HTML and Javascript but i am trying to learn C++... Is there a way that i can make my computer, when i log on, pop up another password deal and if you dont type in the right one you get logged off? Is there a way to do this with a code? If so, how do i do this and where do i type it into... (ex.. Html you can write it in Wordpad, were do i write the C++)

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Yes, you could do something like that.

    You can write C++ in any text editor if you want. What you will need is a compiler to turn the code into a binary executable that can actually be ran on the computer.
    OracleGuy

  • #3
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok lol, do you know of any free compilers.. I am only a sophomore in high school, about to a Junior... I have absolulty no idea about C++, that is why i am taking Computer Science 1... Do you think you can help me out with a code if you have time... And actually show me how to do it, so i 1)can be ready for next year, and 2) do some of my own stuff...

  • #4
    Regular Coder bobleny's Avatar
    Join Date
    May 2007
    Posts
    258
    Thanks
    3
    Thanked 11 Times in 11 Posts
    I use Code :: Blocks, which has a built in syntax highlighter and debugger. It is a very nice program.

    http://www.codeblocks.org/

    Happy Programming....
    --www.firemelt.net--
    * No good deed goes unpunished.
    * Cheer up, the worst has yet to come...

  • #5
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok thx.... I will try this

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Yeah, Code Blocks isn't too bad, it is definitely getting there. I use it as my development IDE under Linux.

    Another free IDE is provided by Microsoft, Visual C++ Express. You'll also need to follow the stuff for adding in the Microsoft Platform SDK too so you can do non-managed C++.
    OracleGuy

  • #7
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, thx i will look at that as well... Does any one know of a code for what i asked earlier or can anyone help me make one?

  • #8
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    Is there a way that i can make my computer, when i log on, pop up another password deal and if you dont type in the right one you get logged off?
    Why not just change the account password so password #2 is appended to the end of it?

  • #9
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, my family is VERY VERY nosey... They end up figuring out what my pass is everytime. This way if i have two it will keep them out for a lil while longer... Also if someone can help me with the code, is there a way for it to tell me if someone tried to log on but typed in the wrong pass?

  • #10
    Regular Coder bobleny's Avatar
    Join Date
    May 2007
    Posts
    258
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Well that being the case, I highly recommend
    TrueCrypt!

    This wont keep them out of your system, but it will send them to a screeching halt if they try to get to your sensitive documents!

    If you do decide to use it, perhaps in addition to your program, I recommend that you use the "key" file. It is a file that you need to have to access your documents. You could put that file on a flash drive, and back it up on a CD or two. Then, as long as they cant get the CDs or flash drive, it is impossible for them to get to your files. Unless of course your family members are lvl 5 key hackers.... Even then, it would take hours on top of hours to get in....

    It is a very nice program! It "MIGHT" be possible to reformat your entire HDD as a TrueCrypt volume... I doubt it though.

    Good luck!

    ----
    Other than my uncle, I'm the only one in the family who know anything about computers.....
    --www.firemelt.net--
    * No good deed goes unpunished.
    * Cheer up, the worst has yet to come...

  • #11
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok lol, ill see what i can do... My family is probably a lvl -50 hacker lol...

  • #12
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by MathExpert View Post
    Well, my family is VERY VERY nosey... They end up figuring out what my pass is everytime. This way if i have two it will keep them out for a lil while longer... Also if someone can help me with the code, is there a way for it to tell me if someone tried to log on but typed in the wrong pass?
    If they can guess your password with relative ease it sounds like you aren't using a strong enough password.

    You should use strong password rules maybe: mix lower and upper case, have at least one number and one symbol. Just make sure you don't make it so hard that you won't remember it. Actually you can probably get away with mixing just lower and upper case and that would stop most people from guessing your password. The number of combinations increase by 64 times when you use a mixed case password that is 6 characters long.
    OracleGuy

  • #13
    Regular Coder bobleny's Avatar
    Join Date
    May 2007
    Posts
    258
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Yeah, you might try taking a random word from around the house that you can remember:
    Scrupulosity

    Then turn it into something like this:
    Skru9ul0s1ty

    Then add a number to the front or beginning:
    Skru9ul0s1ty409

    This is an easy was to make a decent password that is easy to remember.
    --www.firemelt.net--
    * No good deed goes unpunished.
    * Cheer up, the worst has yet to come...

  • #14
    New Coder
    Join Date
    May 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I keep a strong pass, i have a mix of upper and lower and #'s... My parents have to know what the pass is to log on and "check" my history etc... But my parents write it down and my brothers find it and use it... That is why i figured i could use the second pass, that away i dont have to usea strong pass on that one and my parents could remember it and then not have to write it down...

  • #15
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Well if you are going to write the program, you can start out making a program that takes in a password and exits or does whatever when you get it right. Once you get that in place, you can add more security features to it, like restricting mouse move to inside the program window only under the password is entered and such.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •