OS API and Security

This is a discussion on OS API and Security within the Tech Board forums, part of the Community Boards category; Originally Posted by CommonTater Yeah secrecy is part of it... Same concept as in C++ ... publishing interfaces but not ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Location
    Stockholm, Sweden
    Posts
    131

    OS API and Security

    Quote Originally Posted by CommonTater View Post
    Yeah secrecy is part of it... Same concept as in C++ ... publishing interfaces but not giving out source for the implementation.
    Drifting a bit far off-topic here (moderators feel free to split it into a new thread), but I'm interested in the secrecy thing. Could you elaborate a bit on how the secrecy of the implementation matters (except for hiding bugs)? I am (as you probably could guess) thinking about Linux, where everything is open source, yet it's a very secure operating system (if set up correctly).

    Moderator note: this was split from Can I access the members of FILE struct for a file that been opened with fopen()?.
    Last edited by laserlight; 10-13-2011 at 04:17 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,394
    Quote Originally Posted by iceaway
    Could you elaborate a bit on how the secrecy of the implementation matters (except for hiding bugs)?
    The security provided by keeping an implementation secret is just an afterthought: it should not be relied on, similiar to how knowing the workings of a good cryptosystem should not allow the attacker to break the encryption.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Quote Originally Posted by laserlight View Post
    .... it should not be relied on ....
    And that is why(aside from user stupidity); I believe, so many viruses..and all of its progeny exist!!
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  4. #4

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. /tmp/ and security
    By Epy in forum Linux Programming
    Replies: 4
    Last Post: 05-05-2010, 05:36 AM
  2. Security
    By 3saul in forum Linux Programming
    Replies: 1
    Last Post: 06-15-2006, 01:25 AM
  3. ATM's and Security
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-03-2003, 09:50 AM
  4. security
    By iain in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-20-2001, 08:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21