1
ammbr
Prevent unauthorized users from accessing subdir of module
  • 2005/7/25 8:40

  • ammbr

  • Just popping in

  • Posts: 6

  • Since: 2003/6/30


Hello,

I created a module to show documents which are store in a subdir of that module and should only be accessible when you have access to that module. But when you know the direct url to those documents , you can see them anyway. This should not be possible. How can I prevent this.

Thanks for your help.

Marc.

2
jdseymour
Re: Prevent unauthorized users from accessing subdir of module

Well, first off I am not a coder, but you may be able to achieve what you want with .htaccess in the directory in question. Another method you may want to look at is in these hacked versions of download modules to keep direct linking at bay:

Fractal DoNotShareMyDownloads для XOOPS My-Downloads

And

Fractal DoNotShareMyDownloads для XOOPS WF-Downloads

HTH.

Login

Who's Online

229 user(s) are online (190 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits