xoops forums

komo123

Just popping in
Posted on: 2007/4/13 19:33
komo123
komo123 (Show more)
Just popping in
Posts: 4
Since: 2006/3/11
#1

xoops file secrity

Hello

I am using xoops-2.0.16, my peobelm is I made new directory
and upload my musics file there, but the probelm is if somebody write http://www.Myhome.com/music they can see all the files and download every thing , and even they can see my themes too.so Please how do I stop people from doing this.
thanks

davidl2

XOOPS is my life!
Posted on: 2007/4/13 19:38
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#2

Re: xoops file secrity

In your theme directory - create a file called: index.html - containing:

Quote:
<br />
<script>history.go(-1);</script><br />

davidl2

XOOPS is my life!
Posted on: 2007/4/13 19:38
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#3

Re: xoops file secrity

(Some good tips on site security here)

komo123

Just popping in
Posted on: 2007/4/13 19:49
komo123
komo123 (Show more)
Just popping in
Posts: 4
Since: 2006/3/11
#4

Re: xoops file secrity

Hello

Thank you for much.........

tl

Friend of XOOPS
Posted on: 2007/4/13 20:08
tl
tl (Show more)
Friend of XOOPS
Posts: 999
Since: 2002/6/23
#5

Re: xoops file secrity

You may want check out this TIP:

http://xoops-tips.com/news-article.storyid-81.htm
Xoops Tips - Tip It and Use It

davidl2

XOOPS is my life!
Posted on: 2007/4/13 20:16
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#6

Re: xoops file secrity

Excellent reading. Thanks for the link.

fooups

Just popping in
Posted on: 2007/4/13 20:23
fooups
fooups (Show more)
Just popping in
Posts: 82
Since: 2004/1/12
#7

Re: xoops file secrity

If your host allows .htaccess files, you can deny listing of your repertories by using the following command:

Options -Indexes


Bye