• Welcome to Valhalla Legends Archive.
 

hey im working on this password prgrm.

Started by Sliver_king, November 14, 2003, 09:14 AM

Previous topic - Next topic

Sliver_king

hey i have this problem... im working on a program to keep my parents out of my personal stuuf on the computer.  but for some reason noone ever told me how to make the program auto start when the folder opens.  so if anyone can help i would greatly appreciate it.  everything else is already done i just cant figure the auto start procedure for the program.

Adron

I know of no way to make a program autostart when a folder opens, if there's no special program running before.

Crim-Training


Adron

#3
Quote from: Crim-Training on November 14, 2003, 11:40 AM
try putting it in the startup folder ?

That will make it run when the shell starts, not when some particular folder is opened.

iago

Which file system are you running?

I'm assuming you're using Windows NT, 2K, or XP for this answer:
I'm also assuming you're using the NTFS file system.  To find out if you are, right click on your harddrive, click properties, and it'll say either FAT32 or NTFS.
My final assumption is that you are using a different account than your parents.

Under NTFS, you can set permissions on files and folders which woudl only let you see them.  Anybody else who tries to access them will get, "Permission Denied."  I'm not entirely sure how to set them, but, if my above assumptions are correct (please confirm) I or somebody else may post additional information on how to set permissions.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Grok

Quote from: Sliver_king on November 14, 2003, 09:14 AM
hey i have this problem... im working on a program to keep my parents out of my personal stuuf on the computer.  but for some reason noone ever told me how to make the program auto start when the folder opens.  so if anyone can help i would greatly appreciate it.  everything else is already done i just cant figure the auto start procedure for the program.

You can do this by giving your folder a system attribute, then creating an .htt file for the folder.

Quotebut for some reason noone ever told me how to make the program auto start

For some reason noone ever told you ....  say what?  It sounds as if you expect knowledge to be spoon-fed to you.  Well as it happens, here's some spoon-fed information:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebtool/html/webview.asp

Read that, then create your htt, including some javascript to run when the folder is accessed/opened.  Not too hard.

Grok

There MIGHT be another way to do this, if you wrote a service to hook a notification of folder access.  There are such functions that notify you about file creation, modification, deletion, but I'm not so sure about file access.  You can check it out though and let US know.  I'm pretty sure it must exist, because the auditing functions in NTFS let you know when people access certain files.

Dyndrilliac

I supposed you could create a program would run in the background, and have a function much like that of a game trainer - where it check for an open window, and you could set it to say if the window is detected as open then it asks for a password and locks the computer. Such a program would be rather easy to create.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

Hitmen

#8
Why make a program for something so simple?

Asuming your parents are nearly computer illiterate, this should work.

edit: also assuming you're on 98 or 2k. No idea if it works on XP, don't care.

TheMinistered

Personally, I think you shouldn't protect anything on your computer from your parents, especially if you are under eighteen.  

You should have nothing to hide from them anyways because there should be nothing illegal there.  

The only reason I can see you would want to hide things from your parents is if you are over eighteen and it is something private + legal.  

In conclusion, I doubt you are over eighteen... so we just helped a kid hide something that he shouldn't have (i.e. porno).

Dyndrilliac

I say if you can beat the system, good for you.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

j0k3r

Quote from: TheMinistered on November 14, 2003, 04:57 PM
Personally, I think you shouldn't protect anything on your computer from your parents, especially if you are under eighteen.  

You should have nothing to hide from them anyways because there should be nothing illegal there.  

The only reason I can see you would want to hide things from your parents is if you are over eighteen and it is something private + legal.  

In conclusion, I doubt you are over eighteen... so we just helped a kid hide something that he shouldn't have (i.e. porno).
It's his option to protect his files if he wants, and with my case, my sisters screw up my computer all the time, knowing this even 2months ago would have been awesome, wouldn't have had to reformat so much.
QuoteAnyone attempting to generate random numbers by deterministic means is, of course, living in a state of sin
John Vo

iago

You COULD just give her a limited account, and set up the permissions on important stuff that you don't want her touching.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Sliver_king

the only reason i have this program being made is because my parents wont stop looking at everything i do everything i type and where i go and who i talk to... they arent computer illiterate but they dont know everything about it either... they dont know how to hack into things but they kow how to find stuff though... thats why i want the program.  i wrun windows xp and i beleive i run ntfs but im not sure ill have to check.  im under 18 but i just have stuff that they dont need to see like personal conversations that i have with my gf on aim.  they found out a way to save my conversations so i sent the conversation files to one folder that they havent found yet but  they are getting really close and thats why i need the password program.  no i dont have porn on there get your mind out of the gutter.

Sliver_king

oh question is there a way to make a starup folder for the other folder????