Quote:
Originally Posted by PnL
Cool - thanks!
How about if I want to control files from being accessed by members who are currently logged in - is there a way to set this up? If the URL of the file is known the method in this thread won't protect those files from being accessed by "non-members", since it only controls what is displayed (like URL/links). Is there a way to have the log-in checked before the file is accessed? I'm guessing a dynamic URL/link would be required which needs to be generated based on whether the user is logged-in or not. Is this possible?
|
Thats outside the scope of this hack.
You can do this by playing with your httaccess file.
Ive seen it done on several sites before.
This hack here
https://vborg.vbsupport.ru/showthread.php?t=61507 is for vB 3.0 but should give you an idea oh now it all works.
Hope this helps.