Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 31st, 2007, 12:01 PM   #21
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 329
Rep Power: 3 kruptof is on a distinguished road
How about making some kind of rootkit that will over see all files that are opened and then just chuck away anything with an avi extension. You could properly give the rootkit a password or a setup file and make it ask for passwords and if the wrong passwords is entered have it play a video from a pool of "safe videos" that way it won't seem as if you're hiding something and if she asks how come she can put in any password and it still works, just say it's a project that you havent finished yet.
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old Aug 31st, 2007, 12:09 PM   #22
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
Quote:
Originally Posted by kruptof View Post
How about making some kind of rootkit that will over see all files that are opened and then just chuck away anything with an avi extension. You could properly give the rootkit a password or a setup file and make it ask for passwords and if the wrong passwords is entered have it play a video from a pool of "safe videos" that way it won't seem as if you're hiding something and if she asks how come she can put in any password and it still works, just say it's a project that you havent finished yet.
Rootkit! That's not a bad idea at all. I have the book on them but really only know that they are windows drivers. Does anyone have a premade rootkit that is used specifically for monitoring all file handling?

Any quicker solutions?
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Aug 31st, 2007, 12:16 PM   #23
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 329
Rep Power: 3 kruptof is on a distinguished road
You could have the program(not rootkit) go through the system and make a list of all the media files and associate all media files with that program and then have the program verify the person, if they fail verification open up the default player and play the requested file, if the person is verified provide them with the list and play the requested files from there.

But the downside of this maybe that if the person just gets the player out and opens the file, the program would not help at all, you could overwrite the header of all media files to something that your program is familiar with, or just have your program running in the background and scramble all files coming in unless specified and then descramble the file when it’s being played (after being verified of course).

You might want to look into truecrypt, that gives you to containers an outside one and all so an inner hidden one, save all your files in the inner one and password protect it but don’t password protect the outer one (optional).
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old Aug 31st, 2007, 12:24 PM   #24
Soulstorm
Hobbyist Programmer
 
Soulstorm's Avatar
 
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 239
Rep Power: 3 Soulstorm is on a distinguished road
I would have some ideas on how to do this on OS X... I don't know for Windows, but let me give you an idea, if anyone hasn't already done that.

You need a small program that will open at startup, and remain open until the user logs off. When a user opens a file, the program will check its extension, and if it is one of the extensions you don't want to open, then you will close that file immediately after it opens.

I know that in OS X you can do that with Cocoa, or even a simple applescript application, but I don't know what technologies you can use on Windows, sorry. But I hope I gave you an idea.
__________________
Project::Soulstorm (personal homepage)
Soulstorm is offline   Reply With Quote
Old Aug 31st, 2007, 2:57 PM   #25
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
I'm not sure why this thread was moved. I need to know how to tackle this programmaticaly using C# and not for 1 computer for 20+.

Quote:
Originally Posted by Soulstorm View Post
I would have some ideas on how to do this on OS X... I don't know for Windows, but let me give you an idea, if anyone hasn't already done that.

You need a small program that will open at startup, and remain open until the user logs off. When a user opens a file, the program will check its extension, and if it is one of the extensions you don't want to open, then you will close that file immediately after it opens.

I know that in OS X you can do that with Cocoa, or even a simple applescript application, but I don't know what technologies you can use on Windows, sorry. But I hope I gave you an idea.
Exactly! That is what I planned to do from the start. My problem is that I have no idea how I could check the extension of a file being opened. I googled it many times, searched many forums and ended up here.
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org

Last edited by Kilo; Aug 31st, 2007 at 3:04 PM. Reason: added text
Kilo is offline   Reply With Quote
Old Aug 31st, 2007, 11:30 PM   #26
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 381
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
Even if you check the extension ... what makes you think the user won't just change the extension ?

I'll stick with my idea : have a list of allowed programs and close all others .
Cause if you allow media player just for music, i'll change the extension and still be able to play.

You would have to find the actual file type - ... and i have no idea how to do that

Found something :
This is probably the way to go, maybe see if you can found a ready made library ... or something
http://www.microsoft.com/whdc/driver...v/default.mspx
http://channel9.msdn.com/Showpost.aspx?postid=36907
__________________
Don't take life too seriously, it's not permanent !

Last edited by xavier; Aug 31st, 2007 at 11:47 PM.
xavier is offline   Reply With Quote
Old Aug 31st, 2007, 11:51 PM   #27
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
I made a program called Download Blocker, but i've added a thing for users to specify what to block, it includes programs to. I'd be willing to let you have it. All your boss has to do is add the EXE to all the video players on his computer, and when they are run the program shuts them down.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

Destruction leads to a very rough road, but it also breeds creation.
bigguy is offline   Reply With Quote
Old Sep 4th, 2007, 10:22 AM   #28
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
Quote:
Originally Posted by bigguy View Post
I made a program called Download Blocker, but i've added a thing for users to specify what to block, it includes programs to. I'd be willing to let you have it. All your boss has to do is add the EXE to all the video players on his computer, and when they are run the program shuts them down.
It sounds good but we don't want to block an application from running we want to block AVI and other video formats from opening at all.
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Sep 4th, 2007, 12:43 PM   #29
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 375
Rep Power: 0 King is an unknown quantity at this point
If you don't want AVI files to run on the computer, why don't you just remove all the AVI files off of the computer?
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Sep 4th, 2007, 1:48 PM   #30
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
Quote:
Originally Posted by King View Post
If you don't want AVI files to run on the computer, why don't you just remove all the AVI files off of the computer?
Doing so still gives the user the option to download and run more AVI files. Remember this is for about 20+ computers. I need to be able to detect when a file is going to be executed and stop it from opening. This is the only way to do it. Now all I need is some methods to getting this done.
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem processing file into a char array csrocker101 C++ 1 May 8th, 2007 11:50 PM
converting string to float beginnerCCC C 22 Oct 2nd, 2006 11:59 PM
OnlineTextEditor.Com! Sane Show Off Your Open Source Projects 43 Jun 16th, 2006 8:55 AM
After execution - Error cannot locate /Skin File? wchar Visual Basic 1 Mar 5th, 2005 9:04 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:14 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC