Announcement

Collapse
No announcement yet.

Prevent unauthorized access to the system...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Dude... you are worried about the PC when they have access to the car??? Priorities man...

    Comment


    • #3
      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

      Comment


      • #4
        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.

        Comment


        • #5
          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/

          Comment


          • #6
            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.

            Comment


            • #7
              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
              Crouching Tiger, Drunken Kitty

              Comment


              • #8
                Thanks cheerio Very usefull info in there.

                Cheers.

                Comment


                • #9
                  Im only a programmer(hobbist). Glad to help out with anything.
                  Crouching Tiger, Drunken Kitty

                  Comment


                  • #10
                    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/

                    Comment


                    • #11
                      Originally posted by HybridEngineer
                      You can actally disable Ctrl+Alt+Delete using Group Policy settings...
                      Didn't know that! What else are they hiding in there?
                      Great find HybridEngineer

                      Thanks guys for all the help.

                      edit:

                      well it's not my app. I'm just building around myHTPC and I'm not authorized to alter the code. Irony huh... not authorized to do an "you're not authorized" addition to the code. Oh well...

                      Comment


                      • #12
                        actually, i once made a screensaver that was vb6 that locked out the WHOLE keyboard and has the API documentation of how to block certain stuff for making school computer users agree to a set legal agreement of using the computer. i will have to dig up its code...at my gf's house tonight.
                        "If it works this good why F with it?" -KMFDM "Intro"

                        Strive for ethical wardriving: http://faq.wardrive.net/

                        My CarCPUs: v1 - 2000 | v2 - 2004
                        Mp3Car Meets: http://detrimental.org/eyecandy/MP3CarMeets

                        Comment


                        • #13
                          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

                          you will want to just disable loading explorer.exe [the basic windows shell]. this means that the explorer will not load at all, and that there isn't an xp for anyone to mess with. now, xp is still there, but you could say that it is 'stealth'. [you could still run task manager with ctrl alt delete, but you gotta know where your programs are to do anything]...

                          another option [slighty modified from the latter] is to replace your explorer shell with another, lighter, more controllable one. we all know explorer is unstable anyway.

                          you can find a million [okay, i'm exaggerating] different shells with different functions here http://shellcity.net/content10.htm

                          i'm outtie.
                          don't let a day go by without finding some wonder in it...

                          Comment


                          • #14
                            Thank you all for your replies and help. I just found what I need. It's a nice little program called KEYBLOCK. In case anyone is interested you can find it here.

                            Cheers

                            Comment

                            Working...
                            X