Thread: Secure permission sets

  1. #1
    Registered User
    Join Date
    Nov 2005

    Secure permission sets

    Is it safe to say that every file/folder that the user needs to access directly (like a .php file or an html page) can have a permission set of 775, otherwise it should be 644? In this case, a .css file that doesn't require direct access by the user should be 644.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    No, that's not at all safe to say.

    Which user? Who owns the files? Who wants to do something with them?

    Do you even understand what the execute bit means?

    And why is this on the Linux Programming board instead of Technical or General? This is not a programming question.
    A specialized Linux forum would be even better.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem aligning floating point numbers
    By esbo in forum C Programming
    Replies: 4
    Last Post: 01-05-2009, 08:09 PM
  2. Major Problems with GetSaveFileName() and GetOpenFileName()
    By CodeHacker in forum Windows Programming
    Replies: 8
    Last Post: 07-12-2004, 11:05 AM
  3. creating new sets
    By axon in forum C++ Programming
    Replies: 7
    Last Post: 12-03-2003, 06:37 PM
  4. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM