Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Prevent unauthorized access to the system...

  1. #1
    Maximum Bitrate Seth's Avatar
    Join Date
    Jun 2004
    Location
    Athens Greece
    Posts
    836

    Prevent unauthorized access to the system...

    Is there a way you can password protect or at least just disable certain key combinations? Alt+F4 , Ctrl+Alt+Del (task manager) etc.
    This way I want to prevent anyone (besides me) to shutdown my frontend and get into windows (XP) doing all kinds of nasty stuff

  2. #2
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Seattle
    Posts
    93
    Dude... you are worried about the PC when they have access to the car??? Priorities man...

  3. #3
    Maximum Bitrate Danceheaven's Avatar
    Join Date
    May 2002
    Location
    Essex, UK'er
    Posts
    664
    Quote Originally Posted by Seth
    Is there a way you can password protect or at least just disable certain key combinations? Alt+F4 , Ctrl+Alt+Del (task manager) etc.
    This way I want to prevent anyone (besides me) to shutdown my frontend and get into windows (XP) doing all kinds of nasty stuff

    AIMEE will have options to disable these key combinations, and will also have options for security code to be entered to use the system on startup, and after resuming from standby/hibernate
    Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
    www.aimee.cc

  4. #4
    Maximum Bitrate Seth's Avatar
    Join Date
    Jun 2004
    Location
    Athens Greece
    Posts
    836
    Quote Originally Posted by trancified
    Dude... you are worried about the PC when they have access to the car??? Priorities man...

    nice!

    Well I'm sorry I didn't make my self clear. You see I've come up with a frontend based on myHTPC which I'm about to implement on a carpc solution I want to sell. The system will ship with that frontend but if the user want's to change it and throw in FrodoPlayer or MMC that's fine. I just want to make sure that any problem occur will be because something is wrong with my frontend and not because a nosy customer messed things up sticking a keyboard on the PC.
    Hope this makes sence and clears things up.

  5. #5
    Maximum Bitrate Bitoholic's Avatar
    Join Date
    Apr 2004
    Location
    Port Saint Lucie, FL
    Posts
    682
    Yes, you can do all this with Windows API Keyboard hooks. It is how key loggers, etc are made. You can trap key press combos and handle them yourself instead of letting them fall thru to the windows message pump.

    I might be able to dig up some old code and info for you if you need it...
    Ben S. Stahlhood II
    Hybrid Mobile
    MMC/Transcend Developer
    --------------------------------------
    http://www.hybrid-mobile.com/
    http://www.cocoamachine.com/
    http://weblogs.asp.net/bstahlhood/

  6. #6
    Maximum Bitrate Seth's Avatar
    Join Date
    Jun 2004
    Location
    Athens Greece
    Posts
    836
    Quote Originally Posted by HybridEngineer
    I might be able to dig up some old code and info for you if you need it...
    You don't happen to know any freeware program that does that, do you Ben ?


    I've d it and found some pieces of info here and there. Any help will be much appreciated.

    Thanks guys.

  7. #7
    Variable Bitrate cheerio's Avatar
    Join Date
    Jun 2004
    Location
    San Antonio
    Posts
    233
    http://www.developer.com/net/article.php/1502401 - great looking article that explains it well.

    if you dont want the keys to go back to the system, then dont return then to defproc. btw teh article states
    Tip: Event the low-level keyboard hook will not block some key combinations, for instance, Ctrl+Alt+Del. I believe Ctrl+Alt+Del generates an interrupt 0x19, which is not routed as a keyboard message. You probably have to implement an interrupt handler for interrupt 0x19 to catch Ctrl+Alt+Del

    this is true for windows 2000+, ctrl + alt + del is a system combination now, you can trap it, but you cant prevent it. but you CAN configure how ctrl + alt + del behaves in administrator tools in the control panel. its in system policys or something of that nature.

    GL

  8. #8
    Maximum Bitrate Seth's Avatar
    Join Date
    Jun 2004
    Location
    Athens Greece
    Posts
    836
    Thanks cheerio Very usefull info in there.

    Cheers.

  9. #9
    Variable Bitrate cheerio's Avatar
    Join Date
    Jun 2004
    Location
    San Antonio
    Posts
    233
    Im only a programmer(hobbist). Glad to help out with anything.

  10. #10
    Maximum Bitrate Bitoholic's Avatar
    Join Date
    Apr 2004
    Location
    Port Saint Lucie, FL
    Posts
    682
    http://msdn.microsoft.com/msdnmag/is...A/default.aspx

    this is a great article as well. You can actally disable Ctrl+Alt+Delete using Group Policy settings...

    Check it out, hope this helps

    <edit>
    As far as the ALT+F4 goes, you can stop your app from closing in the code. Look for an on close event and then prevent it from closing...
    </edit>
    Ben S. Stahlhood II
    Hybrid Mobile
    MMC/Transcend Developer
    --------------------------------------
    http://www.hybrid-mobile.com/
    http://www.cocoamachine.com/
    http://weblogs.asp.net/bstahlhood/

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 9
    Last Post: 02-28-2004, 10:51 AM
  2. A few observations in OS and why I'm now using Windows 2003...
    By Mastiff in forum Software & Software Development
    Replies: 12
    Last Post: 01-21-2004, 10:11 AM
  3. Replies: 22
    Last Post: 08-13-2001, 02:42 PM
  4. Do I have HU or not? -- Factory Audio system
    By helloman in forum General Hardware Discussion
    Replies: 8
    Last Post: 03-06-2001, 04:11 AM
  5. Arise ACE-865V dc-dc ps, system wont post, help...
    By plasmadis in forum General Hardware Discussion
    Replies: 7
    Last Post: 07-17-2000, 03:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •