MyBB Community Forums

Full Version: Refuse download
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my forumsite with software mybb_1605 I have made a folder named photo.
I that folder are placed photo's.
Now it seem to be possible look inside without registering.
When I use this url: htpp:/myforum.com/photo it is possible to download the photo's.
Is there an option to refuse this?
put a simple index.html file in that folder ; it can be blank OR with comment tags

<html>
<header>
<title>your forum name</title>
</header>
<body>
<!-- -->
</body>
</html>
<title>your forum name</title>

"your forum name" must be my url of my forum?
Do I put the index.html also in subdirectories if there are?
(2011-12-05, 01:37 PM)erica Wrote: [ -> ]<title>your forum name</title>

"your forum name" must be my url of my forum?
Do I put the index.html also in subdirectories if there are?

Not the URL, the name of the forum. And yes you put a copy in each subfolder.

Also, I would change the code to this (Note, Ranjani put <header> when its supposed to be <head>:
<html>
<head>
<title>your forum name</title>
<meta http-equiv="refresh" content="5;url=http://your_forum_url/">
</head>
<body>
You do not belong here. Sending you away in 5 seconds.
</body>
</html>
Now I have put the index.html in de root of sharedfiles.
Even in de map Mio
Still people can download stuff without registering.

Please help me.
^ if someone has direct link then can download ; to prevent that you have to use a download system (eg.)
That's simple to say.
But what kind of download system?
^ assuming that you have direct links on posts & they appear to guests . if you can use attachments
system of myBB then you can restrict downloading for members / specific groups ; one such download
system
is given as an example in above response (#6) .