Jump to content
  • Advertisement
Sign in to follow this  
Mat1515

Windows Folder Hiding

This topic is 5120 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What will I have to tap into to hide windows XP folders so they cannot be accesed, of course the program will be able to undo the hiding to allow access. My freind made a program for ME and 98 to change folders to recycle bins or just plain data files and back. He was adding some kind of extension the folder name or something. Any ideas? Thanks Matt

Share this post


Link to post
Share on other sites
Advertisement
Hey bru

I don't think you want to hide them. You want to lock them. If you hide them all you have to do is, in the command line type:

attrib -h <filename>

that will unhide a file. Or you could just make windows show all files.

So to lock the files, uhm...

The only way I've seen is you encrypt the files/folder and then delete the original. You could make the program automatically do this. The only problem is that if the folder is large it takes a while.

I won't ask you what you want to hide.

Share this post


Link to post
Share on other sites
I had to do something similar in perl once. What I've come up with is putting the whole directory into a zip container and deleting the original. The basic zip library ("zlib") is available for most any language. It does become slow when there are huge loads of data around, but otherwise the speed might be okay.
Depending on your desired level of security you can afterwards additionally encrypt the zip container file. Of course that'll take some more time.

This is just my idea, there are probably many other ways to accomplish your goal.

Share this post


Link to post
Share on other sites
Doesn't windows allow you to lock files with a password? If not, you could always have your program encrypt the files and require a password to unencrypt them.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!