| View previous topic :: View next topic |
| Author |
Message |
Bizarro I post too much
Reputation: 0
Joined: 01 May 2007 Posts: 2648
|
Posted: Mon Jun 09, 2008 5:58 am Post subject: [vc++]registry or ini |
|
|
i encrypted a password and want to save it in some type of file so it can be retrieved and verified at a later time.
i was wondering which one i should save it to. registry or ini or anything more powerful/safer.
i kinda like ini since it can be edited even its hidden. that means i can place it anywhere and save my password in hidden state.
_________________
w8 baby.com Banner contest, Come join NOW!!
Check us out for Prize deatils |
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Mon Jun 09, 2008 10:01 am Post subject: |
|
|
| i personally would use a the registry. I like it more. You can save lots of data without the user even knowing it.
|
|
| Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Mon Jun 09, 2008 10:55 am Post subject: |
|
|
I would use XML or .ini just because I don't know how to save to registry
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Jun 09, 2008 12:05 pm Post subject: |
|
|
| nwongfeiying wrote: | I would use XML or .ini just because I don't know how to save to registry  |
That's a bad reason. I would use the registry. It's more hidden and is preferred by MSDN
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Mon Jun 09, 2008 2:14 pm Post subject: |
|
|
I would prefer Registry.
_________________
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Tue Jun 10, 2008 12:44 pm Post subject: |
|
|
I'd prefer a file over registry. On Windows, it's freaking annoying when the size of your registry grows fast like a weed does and then the registry is all full of crap + messed up, etc. Somehow, I find settings stored in files a bit (well.. A lot) "cleaner" than registry ones. Also, they're way easier to port from comp to an another.
I do agree that if you're using files, you should go for XML.
PS. This is my opinion. I've never liked much about the Windows registry :)
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Wed Jun 11, 2008 1:58 am Post subject: |
|
|
| In this case i'd use Registry, but please do make an external program (Uninstall.exe) to delete the keys when people want to remove the software, i use ini so people can easly manualy remove all the files and leave no traces in the registry.
|
|
| Back to top |
|
 |
Bizarro I post too much
Reputation: 0
Joined: 01 May 2007 Posts: 2648
|
Posted: Wed Jun 11, 2008 2:04 am Post subject: |
|
|
is there any security difference between ini and Registry for password storage?
_________________
w8 baby.com Banner contest, Come join NOW!!
Check us out for Prize deatils |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Wed Jun 11, 2008 2:42 am Post subject: |
|
|
| Bizarro wrote: | | is there any security difference between ini and Registry for password storage? |
What do you mean security difference ? they're the same just different place.
|
|
| Back to top |
|
 |
Bizarro I post too much
Reputation: 0
Joined: 01 May 2007 Posts: 2648
|
Posted: Wed Jun 11, 2008 3:45 am Post subject: |
|
|
| Rot1 wrote: | | Bizarro wrote: | | is there any security difference between ini and Registry for password storage? |
What do you mean security difference ? they're the same just different place. |
o if thats the case. then saving to ini would be much simpler. since only 1 API is needed, writeprivateprofilestring.
_________________
w8 baby.com Banner contest, Come join NOW!!
Check us out for Prize deatils |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Jun 11, 2008 8:25 am Post subject: |
|
|
The registry can be a little safer towards the average noob messing with someones computer. Someone that doesn't know a lot can easily tamper with the file, but in most cases either wont know what the registry is, or even how to open it. But overall for the password itself, they give the same level.
_________________
- Retired. |
|
| Back to top |
|
 |
Bizarro I post too much
Reputation: 0
Joined: 01 May 2007 Posts: 2648
|
Posted: Wed Jun 11, 2008 9:35 am Post subject: |
|
|
| Wiccaan wrote: | | The registry can be a little safer towards the average noob messing with someones computer. Someone that doesn't know a lot can easily tamper with the file, but in most cases either wont know what the registry is, or even how to open it. But overall for the password itself, they give the same level. |
yea my target is not average noobs. most likely would be pros.
even if the noobs find out about it, they probably can't do anything
my encryption is something like
| Code: |
De 筽熥?軙渣穐祝醋屮?BU髧?阢#9'5 =%q l:PH#P
3J
=OuW
KY
|
_________________
w8 baby.com Banner contest, Come join NOW!!
Check us out for Prize deatils |
|
| Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Wed Jun 11, 2008 10:00 am Post subject: |
|
|
| Either way, it could be easily decrypted when it's disassembled. Also, disassembling would show the location of a created file, and if you access the registry.
|
|
| Back to top |
|
 |
|