| View previous topic :: View next topic |
| Author |
Message |
TomXIII
Joined: 14 Apr 2009 Posts: 182
|
Posted: Thu Mar 04, 2010 1:47 pm Post subject: How to hide/protect folders/files or programs? [SOLVED] |
|
|
Hi everybody!
I would to know if there is anyway to protect/hide partitions, folders/files or programs with autohokey? I have some friends who use my computer and even with the "users accounts" I wanna protect/hide several access. If nothing can be done with AHK, please give me some ideas (I already know TrueCrypt). Thank in advance!
Last edited by TomXIII on Fri Mar 05, 2010 5:12 pm; edited 1 time in total |
|
| Back to top |
|
 |
DevX
Joined: 07 Jan 2009 Posts: 43
|
Posted: Thu Mar 04, 2010 2:05 pm Post subject: |
|
|
Either encrypt the whole thing, or take it with you.
All other defences are useless, as all one needs to do is plug in a usb stick, and they have access to everything.
It all depends on how inexperienced your friends are |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Thu Mar 04, 2010 3:05 pm Post subject: |
|
|
this is a windows question not ahk
do not use ahk for security its way to easy to kill
short answer is to only give one user access to some folder/partition and make your friends use a guest account
and ntfs must be your file system _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
TomXIII
Joined: 14 Apr 2009 Posts: 182
|
Posted: Thu Mar 04, 2010 6:58 pm Post subject: |
|
|
Thx for replies!
I've coded this simple script to avoid for "non-admin" users to launch non wanted applications. I added it to autorun.
| Code: | #NoTrayIcon
ProcessList =
(
Process1.exe
Process2.exe
...
ProcessN.exe
)
If A_IsAdmin
ExitApp
Else
{
Loop
{
Loop, parse, ProcessList, `n
{
Process, Exist, %A_LoopField%
PID := ErrorLevel
If PID
Process, Close, %PID%
}
Sleep, 20
}
}
!²::
ToolTip, This is the end!!!
Sleep, 1000
ExitApp
Return |
|
|
| Back to top |
|
 |
Sephiroth2906
Joined: 28 Apr 2007 Posts: 85
|
Posted: Thu Mar 04, 2010 7:16 pm Post subject: |
|
|
| It certainly functions, but I can go right into Task Manager to kill the process. |
|
| Back to top |
|
 |
None
Joined: 28 Nov 2009 Posts: 3086
|
Posted: Thu Mar 04, 2010 7:20 pm Post subject: |
|
|
| Sephiroth2906 wrote: | | I can go right into Task Manager to kill the process. |
Unless one of the precesses it kills is Task manager  |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Thu Mar 04, 2010 7:22 pm Post subject: |
|
|
what about cmd
what about using notepad to edit the file
what about.....
seriously its a fiools errand
use built in windows control _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
TomXIII
Joined: 14 Apr 2009 Posts: 182
|
Posted: Thu Mar 04, 2010 8:28 pm Post subject: |
|
|
| @tank : what about your solution? |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Thu Mar 04, 2010 8:45 pm Post subject: |
|
|
what about it
Im not gonna give you baby steps i told you already
| Quote: | short answer is to only give one user access to some folder/partition and make your friends use a guest account
and ntfs must be your file system | let google be your guide
the information is out there _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
TomXIII
Joined: 14 Apr 2009 Posts: 182
|
Posted: Fri Mar 05, 2010 8:38 am Post subject: |
|
|
@tank:
| Quote: | | Im not gonna give you baby steps i told you already | Lol!!!
| Quote: | give one user access to some folder/partition and make your friends use a guest account
and ntfs must be your file system | - Guest account : OK!
- NTFS File system : OK!
- One user access to some folder/partition : I need the Strenght to be with me. Please, give me another chance and some of your knowledge!
- Google : OK(but sometimes!)
UPDATED SCRIPT:
| Code: | #NoTrayIcon
ProcessList =
(
AutoHotkey.exe
cmd.exe
notepad.exe
regedit.exe
SciTELaunch.exe
taskmgr.exe
)
If A_IsAdmin
ExitApp
Else
{
Loop
{
Loop, parse, ProcessList, `n
{
Process, Exist, %A_LoopField%
PID := ErrorLevel
If PID
Process, Close, %PID%
}
Sleep, 20
}
}
#r::
Return
!²::
If not A_IsAdmin
Return
ToolTip, This is the end!!!
Sleep, 1000
ExitApp
Return |
|
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Fri Mar 05, 2010 12:47 pm Post subject: |
|
|
http://www.windowsecurity.com/articles/Understanding-Windows-NTFS-Permissions.html
sigh found with google search term "[url=http://www.google.com/search?q=setting+folder+permissions+with+ntfs&rls=com.microsoft:*&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1]setting folder permissions with ntfs[/url]"seriously loose that rediculous script its still very stopable and any way if you use ntfs permissions correctly it simply wont matter _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
TomXIII
Joined: 14 Apr 2009 Posts: 182
|
Posted: Fri Mar 05, 2010 5:11 pm Post subject: |
|
|
| @tank: I did'nt find "Security" in folder's properties because I'm on XP Home. I have to be in "Safe Mode" with Admin account to do these things. Thx for the reply and especially for your patience! |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Fri Mar 05, 2010 5:17 pm Post subject: |
|
|
why in safe mode?
I'm done thats rediculous _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
TomXIII
Joined: 14 Apr 2009 Posts: 182
|
Posted: Fri Mar 05, 2010 5:23 pm Post subject: |
|
|
| Because in normal mode "Security" doesn't appears! |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Mar 06, 2010 4:19 am Post subject: |
|
|
| TomXIII wrote: | | UPDATED SCRIPT |
...I don't think I read this whole thread, but you deny notepad.exe to users? Why? Except for SciTELaunch.exe, the rest of the "blocked" progs are the ones I use most...I would never be able to function or do anything on your locked-down comp...except try to bypass the block, so I can run my notepad!...& I think I already know a way...
Also, if !A_IsAdmin, they can't do much damage with those commands anyway... |
|
| Back to top |
|
 |
|