Results 1 to 9 of 9

Thread: Encrypting sensitive info in program?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Encrypting sensitive info in program?

    Hi!

    I couldnt find this anywhere so i came here

    I was wondering, i have smtp mail adress and password (for gmail*) and it is probably very easy to read it when opened with hex editor or decompiled
    so i want to encode/crypt that info in my program to make it almost (i know it isnt possible to make it fully unreadable) unreadable and/or make my program undecompilable

    thanks in advance!

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Re: Encrypting sensitive info in program?

    I would appreciate some help here

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Encrypting sensitive info in program?

    well, waiting more than an hour or so would help... we're all volunteers here.... give it some time...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Re: Encrypting sensitive info in program?

    okay, okay, but im bit in a hurry, so...
    anyway, il appreciate any help
    (better late than never)

  5. #5
    Fanatic Member
    Join Date
    Oct 2008
    Location
    Dominican Republic
    Posts
    733

    Re: Encrypting sensitive info in program?

    Where are you saving the sensitive information? Check my signature for an ecryption class example.
    "In our profession, precision and perfection are not a dispensable luxury, but a simple necessity."
    Niklaus E. Wirth


    Rate any post that helped you, it's a good way of saying thanks
    Please specify your Visual Studio Version!

    Why rating is useful

    My Code Bank Submissions: How to determine Windows Version| Working With Mouse Events | Blocking Input Using API | Get host's IP | Minimize to system tray "animated" | Colored ListBox (custom fonts, colors, highlight) Updated -New Class! | [VS 2008] Strong encryption and hashing class - Updated! 31/August/2009 | Create a shortcut using IWshRuntimeLibrary

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Re: Encrypting sensitive info in program?

    it is basically in bare code, i want to hide it from there

  7. #7
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: Encrypting sensitive info in program?

    VB.NET MVP 2008 - Present

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Encrypting sensitive info in program?

    Maybe you shouldn't put it in the executable itself. What if you need to change it sometime? Will you recompile and redeploy? You should store it in an external location, which is also much easier to protect. You might like to follow the CodeBank link in my signature and find my Protected Configuration posting.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Re: Encrypting sensitive info in program?

    well, it is changed every time i build it: i have one builder program and one which is built from (like stub in which code is) so it is stored in another application (i enter mail adress and password, and i build 3rd program with stub
    (okay, idk if u understood me, but...)
    so is there ans crypting on the fly when compiling another program with stub?

Posting Permissions

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



Click Here to Expand Forum to Full Width