Computing.Net > Forums > Disk Operating System > I want to hide a file on cd.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

I want to hide a file on cd.

Reply to Message Icon

Name: farbod
Date: April 2, 2004 at 23:06:33 Pacific
OS: XP
CPU/Ram: 2000Mhz-256 DDR
Comment:

I want to hide a file on cd (not using attribute +h).I want produce a file to be really hidden which anyone can not access and open it.
May anybody help me?

HYPERNOVA



Sponsored Link
Ads by Google

Response Number 1
Name: anenefan
Date: April 3, 2004 at 01:36:50 Pacific
Reply:

Hi

Um, what I think you want is to lock your file with encryption. Only those with the "key" can have access. Problem is you need a very long key thesedays. Short keys however deter most would be snoops.


0

Response Number 2
Name: farbod
Date: April 3, 2004 at 18:00:40 Pacific
Reply:

Hi ANENEFAN
Thanks for your reply.I want to explain details:
I have written a "batch" file like "autoexec.bat". This file refers to another file (for example: "anenefan.exe") in its code.I want to hide or encrypt anenefan.exe that the autoexec.bat can refer to it and use it, but the user can not browse or run this file(in windows) and can not see it even with "dir /a" (in dos) ;by the way both of these files are on a CD.
You recommended me to use a lock and encryption with a key, but i don't know how can i do this?
thx.

HYPERNOVA


0

Response Number 3
Name: anenefan
Date: April 3, 2004 at 23:09:27 Pacific
Reply:

Hi

Ok - thats makes it harder.

Putting a file in plain view but encrypted, is still the best way. However, trying to use straight foward encryption, from a batch file presents problems, as then somewhere you would have to record the key for it to be "passed", so your batch could access the program.

So you only want the file available when you run the batch and at no other time.

Well I can't think of an easy sure fire way, so hopefully someone else can suggest the way forward.

I am not sure if you can batch code to access a cd on a sector basis, and write the file outside the normal file system. If that did work, someone with the right tools would find it.



0

Response Number 4
Name: melee5
Date: April 4, 2004 at 20:57:03 Pacific
Reply:

I'd suggest a different approach altogether - use AutoIt script which can be encrypted to be unreadable and yet still run. Encrypted AutoIt script engine could run your unviewable script file which passes an encryption key to an unzip program that then unzips the zipped and encrypted 2nd executable to run in the temp folder where it is deleted as soon as used?

The encrypted zip file would have to be in plain site so that your batch file and the unzip program can access it though.
http://www.hiddensoft.com/AutoIt/

Not a DOS question, BTW.


0

Response Number 5
Name: anenefan
Date: April 5, 2004 at 05:23:22 Pacific
Reply:

Hi

Ummm It was a dos question. It suspect the batch file on cd will need to work in pure dos or the underlying dos of 9x.

Is the cd going to be bootable BTW?


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: I want to hide a file on cd.

I want to make a custom boot disk - help www.computing.net/answers/dos/i-want-to-make-a-custom-boot-disk-help/11191.html

open a file www.computing.net/answers/dos/open-a-file/14201.html

Copy Files on DOS? www.computing.net/answers/dos/copy-files-on-dos/12246.html