views:

306

answers:

4

Solution for writing a program for keep secret photos.

I have many secret photos of me and my friends and I don't want anyone to see it for now I just use Winrar and Set password feature and use some encrypt and hide folder software. But I think it isn't enough safe.

As I am a C# programmer ,I want to develop an application for do it.

  • I want to know a solution for encrypt and decrypt file.
  • Do I need to write viewer application ? If I view them via ACSSee or other program I fear it will cache my file.
  • As I know when we write "File.Delete()" it isn't real delete,any one can recovery it.How I make sure that my application really delete it (What about modify data and make it cannot use before delete it) ?

FYI

  • My pc doesn't connect to the internet and I bought it for keep,view my photos only I don't want to do other thing.
  • If my pc was break I will not sent it to anyone for repair it.
  • I am only one who use it.

Update

My photo is just shame photos. Actually I just want to know how to do that and something i wrote it is just "suppose"

such as "I bought it for keep,view my photos only I don't want to do other thing."

It is so weird if I spent 400$ for do something like that. I though everyone will know it is just kidding. sorry for made this question not clear.

I just want to know how someone hack it in this situation.And how to protect them by C# language.

However thankyou every comment and answer.

+1  A: 

I only have an answer for the other side of your situation: Know your enemy.

mouviciel
+11  A: 

Someone already wrote it : TrueCrypt

Encrypt your entire PC or a folder - your choice.

Martin
+1  A: 

Truecrypt as mentioned above is the one thing you want. Its opensource i think, so no backdoor solutions (no mr FBI coming getting your dirty stuff!).

Regarding files being temped to c:\temp make sure you use a viewer that does not cache the images or part of the images to disk.

Irfanview/Xnview? ( I use those in combination with Total Commander ).

Wolf5
+2  A: 

Hi Krirk,

as already mentioned just use TrueCrypt.

But let me try to find out why you got all these downvotes.

You wrote that you have some secret stuff on your PC that nobody has to find out, but you are the only user of the pc and it isn't connected to the internet.

So you have already done enough to hide your secret. Surely someone can break into your house and steal the pc. But that's no pc problem. It's a security problem of your house.

And the style what you're asking about encrypting and decrypting it sounds that you have absoluty no clue about how to write a software in such a way that your data is really protected. So do you really want to write your own cypher algorithm? As already proved by dozens of other programmers it is not possible to write a secure code by yourself.

So if you need some 'real' secure solution to lock some drive or folder just TrueCrypt, because the really know how to secure data with proven algorithm and with minimal traces on your pc.

And just another mark: If you had just clearly written your question like 'How can i securely lock a folder on my pc so that nobody can access the data within?' you add achieve the same answers without any downvotes. Believe me. ;-)

Best regards,

Oliver

Oliver
'How can i securely lock a folder on my pc so that nobody can access the data within?' <-- I agree with you it is better.
Krirk