Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Access Is Denied

  • Please log in to reply
1 reply to this topic

#1 hennessy


  • Members
  • 35 posts
  • Local time:01:39 PM

Posted 28 March 2008 - 03:33 PM

How do i create a "access is denied" file. I want that when someone clicks on a program it will say "Access Is Denied". Or how can i put a lock on a folder. I need this becuase im creating a program, and im trying to put a lock on it so noone can see what im doing or go into the file and change stuff.
Any suggestoins? is there like a code or somerthing that does it.

and i dont want to use dirlock

BC AdBot (Login to Remove)


#2 Andrew


    Bleepin' Night Watchman

  • Moderator
  • 8,260 posts
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:11:39 AM

Posted 28 March 2008 - 08:00 PM

Well, if you're using Windows 2000, XP, or Vista then you can change the permissions of the folder (or file) in question to prevent other users from accessing it. Additionally, if your drive is formatted with NTFS then you can take advantage of the built-in encryption features.

Further reading:
http://support.microsoft.com/kb/304040 (File Permissions)
http://support.microsoft.com/kb/307877 (Encryption)

There's also various ways of obfuscating a file or folder (that is, making it look like something else like the Recycle Bin, see http://www.bleepingcomputer.com/forums/t/105698/hide-sensitive-files-in-a-recycle-bin-decoy/,

Or hiding files inside an image file as detailed here: http://txpress.blogspot.com/2007/05/hide-f...ide-images.html

Note: Obfuscation will only protect files from regular users who aren't looking for your files. People like the government, police, and those familiar with such techniques aren't going to be fooled.

If you're really paranoid, take a look at Truecrypt

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users