| | |
A real locking folder
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2005
Posts: 2
Reputation:
Solved Threads: 0
Hello.. it's me, again :mrgreen:
sorry but I really need code for locking folder
not a code for changing the attribut.
'cause i want to put my precious file in that folder
so my friend can't steal it :evil: .
Everybody in the world who can/want to help me please send your little
knowledge to this newbies
sorry but I really need code for locking folder
not a code for changing the attribut.
'cause i want to put my precious file in that folder
so my friend can't steal it :evil: .
Everybody in the world who can/want to help me please send your little
knowledge to this newbies
More or less on every operating system you have to cope with folder's attributes to enforce some way of protection to it's contents. One way is being the root of the system and provide the necessary changes to directory's attributes and making it unaccessible for any other user or simply hiding it. Since this forum especially is for coding (C/C++) my personal advice is to go to the right forum first or (the better option) - consider a lot of coding and reading. In the end you'll be able to protect yourself from some considerable number (at least) of actual or only virtual
enemies.
enemies. >sorry but I really need code for locking folder
If I recall correctly, you never specified what you think "locking a folder" means. So, instead of starting a new thread with the same stupid question, why not try asking a better question, as I suggested in your last thread?
>not a code for changing the attribut.
Okay, okay, here's the super secret code for "locking" a folder so that nobody can get to the file:
Please don't post about this question again until you're smart enough to realize that permissions and attributes are the only way to "lock" a file (as you're using the term) aside from deleting it.
>so my friend can't steal it
Encrypt the file, put it on a thumb drive and keep chained to your pocket if you're so worried about it.
If I recall correctly, you never specified what you think "locking a folder" means. So, instead of starting a new thread with the same stupid question, why not try asking a better question, as I suggested in your last thread?
>not a code for changing the attribut.
Okay, okay, here's the super secret code for "locking" a folder so that nobody can get to the file:
C++ Syntax (Toggle Plain Text)
#include <windows.h> int main() { RemoveDirectory ( "my_super_secret_folder" ); }
>so my friend can't steal it
Encrypt the file, put it on a thumb drive and keep chained to your pocket if you're so worried about it.
I'm here to prove you wrong.
![]() |
Similar Threads
- can you password protect a folder? (Windows 95 / 98 / Me)
- Post installation ... Noob (Mac Software)
- Folder Locking and Hiding in Windows XP (Computer Science)
- locking folder (C)
- spyware not allowing me to use internet explorer (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: using stringstream for tokenizing a string
- Next Thread: need help on c++ before friday
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll download dynamiccharacterarray email encryption error file forms fstream function functions game generator getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






