Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is it possible somehow to choose lock folders/files from everyone? Even yourself?

 

I mean, I want to do this little app where you need a password to open it and when inside you can protect files/folders and as long as the protection is on, no one (even you) can see/open the fiels folders. Is it possible? How?

 

I've tried to look at the API and shell acces and all that stuff, but I just can't find a away...

  • *Gurus*
Posted

You can do it assuming the account that you're running under doesn't have administrative permissions (more specifically the ability to reassign ownership and assign access rights).

 

I'm sure one could install a file system driver atop of NTFS that would regulate something like this, but again, it could be disabled by an administrator.

 

Your best bet is to encrypt the files, and stop trying to hide porn from your mother.

Posted

That's not what I want... I want to lock a file/folder from everyone on every account. There must be a way to do itas there is other apps that do this.

 

I don't need to hide porn from my mother as I'm the only one using my pc and forgeting the fact that my mother has no clue on how working with a pc :P

Posted
What is possible, is open the file for exclusive use. This should do what you want (for files at least) but has some very big drawbacks: your app must be running and will have a lot of files open, even if it doesn't do anything with them it will still cost resources.
Nothing is as illusive as 'the last bug'.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...