View Full Version : Help...another simple one
newskooluser
29th November 2007, 22:35
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...?
dschmid
29th November 2007, 22:46
Is ppl a user on your system? Do you want to be able to access the files with your webbrowser?
dschmid
29th November 2007, 22:48
There are normally the two commands chown and chmod to set the owner of a file and then set the permissions on it.
mtaylor314
30th November 2007, 03:25
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:
<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.
newskooluser
30th November 2007, 05:44
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
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.