نزع الصلاحيه من دخول ملف او مجلد او درايف معين
نفتح نافذة الدوس
Run>CMD
ونستخدم الامر cacls
بعد كتابة الامر:
كود:
C:\Documents and Settings\Administrator>cacls
Displays or modifies access control lists (ACLs) of files
CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.
Abbreviations:
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.
C:\Documents and Settings\Administrator>
اذا كان عندك ملف في c: باسم note.txt على سبيل المثال
تكتب هذا الامر cacls c:/note.txt /G user:R لمنع القراءة
ونتبع الشرح اللي فوق لمنع اليوزر من خيار معين
طيب اذا بغينا ان نمنع جميع اليوزرات من القراءة و الكتابه وعرض الملف note.txt
فنكتب هذا الامر
cacls c:/note.txt /G eveyone:F
ارجوا ان تفيدكم هالخدعه من حماية ملفاتكم
وعلى فكره هذه العمليه من خلال الدوس يعني 16 bit يعني ماتقدر تفك الحمايه عن طريق الوندوز حتى وبالسيف مود
*ملاحظه: لا تمنع الدخول من الدرايف اللي عليه نظام التشغيل
تحياتي