Results 1 to 10 of 10

Thread: Source Code and Keyboard disabling!?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Just behind the screen
    Posts
    72

    Source Code and Keyboard disabling!?

    Is there a way to:

    A: Deactivate the keyboard on a site??

    B: To make the Source Code unaccessable??

    Thanks !
    So what's a program!?

  2. #2
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    No, and not really. You will never be allowed to disable the keyboard, and you can refer to client side scripts without including them in the page. If you configure your web server correctly, then UAs can't directly grab the source.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    If you configure your web server correctly, then UAs can't directly grab the source.
    Won't stop someone from getting it if they really want it, though.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Exactly. But it gets very discouraging. Hopefully to the point that the people who can get your scripts could just as easily write better ones.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Just behind the screen
    Posts
    72
    Ok.....

    Are u guys sure that u can't disable the keyboard.... or just some keys?

    Think I've seen on some other page....
    So what's a program!?

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Exactly. But it gets very discouraging. Hopefully to the point that the people who can get your scripts could just as easily write better ones.
    But it's a piece of cake to run a packet sniffer while the page is downloading...

    Are u guys sure that u can't disable the keyboard.... or just some keys?
    You probable could trap key presses on the page via script, but it'd be impossible to totally disable it, and people can turn scripting off if a page does something that annoys them.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Just behind the screen
    Posts
    72
    ok
    So what's a program!?

  8. #8
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    This site blanked out the view source. I don't know how they did it.

    http://hotwired.lycos.com/webmonkey/98/03/index3a.html
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  9. #9
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    *shrug* I had no problem grabbing the HTML. I didn't look to see if there was any JavaScript.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  10. #10
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032

    I had absolutely no difficulty getting the source either...
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width