Help...another simple one

Discussion in 'HOWTO-Related Questions' started by newskooluser, Nov 29, 2007.

  1. newskooluser

    newskooluser New Member

    How do i stop ppl from being able to access other files in the web root dir...?
    is it a script that i have to find or just some code that needs to be added...?
     
  2. dschmid

    dschmid New Member

    Is ppl a user on your system? Do you want to be able to access the files with your webbrowser?
     
  3. dschmid

    dschmid New Member

    There are normally the two commands chown and chmod to set the owner of a file and then set the permissions on it.
     
  4. mtaylor314

    mtaylor314 New Member

    Not sure if the others answered your question or if you were looking for more of an apache answer. If you are trying to stop people from viewing your images or css or any directory, then use this bit:
    Code:
    <Directory /www/images>
        Order deny,allow
        Deny from all
        Allow from env=linked_from_here
    </Directory>
    More info can be found here http://httpd.apache.org/docs/1.3/misc/FAQ.html#image-theft
    Hopefully that helps.
     
  5. newskooluser

    newskooluser New Member

    hey

    its not theft that im worried about .
    its controlling the path of which they enter they site.
    i think i have it figured out..but thanks for the reply
     

Share This Page