![]() |
| | #1 |
| Supermassive black hole Join Date: Jul 2005 Location: South Wales, UK
Posts: 1,709
| system() Security Would this be a problem under Linux assuming the program is run with normal user permissions?
__________________ Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife. - Mike McShaffry |
| ahluka is offline | |
| | #2 |
| . Join Date: Nov 2003
Posts: 293
| If the normal user can access mission critical data - yes. Some 'normal' users do things like payroll, for example. |
| jim mcnamara is offline | |
| | #3 | |
| Registered User Join Date: Feb 2005
Posts: 416
| but then, in linux you are running an app as a normal user, but the app requires root for alterations to be made generally...root or as itself. ( apache being prime example of app with own id ) user can access, but not alter the application if done this way. thereby defeating the system() vulnerability.
__________________ Quote:
| |
| Jaqui is offline | |
| | #4 |
| Supermassive black hole Join Date: Jul 2005 Location: South Wales, UK
Posts: 1,709
| Ah I see now. Thanks all
__________________ Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife. - Mike McShaffry |
| ahluka is offline | |
| | #5 | |
| Me Join Date: Oct 2002 Location: Europe
Posts: 448
| Quote:
This of course is the risk you run every time you run any program, but still you should try not to rely on external programs, although that's mainly for portability issues.
__________________ SoKrA-BTS "Judge not the program I made, but the one I've yet to code" I say what I say, I mean what I mean. IDE: emacs + make + gcc and proud of it. | |
| -=SoKrA=- is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using system icons | @nthony | Windows Programming | 1 | 01-13-2007 07:56 PM |
| Linux database system needed | BobS0327 | Tech Board | 7 | 06-11-2006 03:56 PM |
| measuring system resources used by a function | Aran | C Programming | 1 | 03-13-2006 05:35 PM |
| New system build wont boot | lightatdawn | Tech Board | 7 | 12-02-2005 06:58 AM |
| BIOS system and memory allocation problem | beely | Tech Board | 9 | 11-25-2003 07:12 AM |