Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - restricting downloads
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

restricting downloads

 Post Reply Post Reply
Author
typhoon View Drop Down
Newbie
Newbie
Avatar

Joined: 04 November 2003
Location: Sweden
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote typhoon Quote  Post ReplyReply Direct Link To This Post Topic: restricting downloads
    Posted: 13 September 2004 at 4:55am
I have many private groups, in my forum, and we utilize the file up/download quite frequenly, we are using the aspsmartupload component.

Now to the problem, the uploads gets stored on the server under a directory in the users name. Usually the link is in a post in a forum. people with access to this post can download the attachment. But we also have people that don't have access to this topic, but other forums, these people can still download that attachment if they would be sent the link in a mail with an direct url to the attached uploaded document.

ie attchments gets stored like this:

https://forum.org/forum/uploads/files/username/uploaded_docu ment.doc

anyone that have access to the server can download that document, well, they must know the url, but still its a bit scary as we really need security on these documents, we are using the active directory integration with this so we dont have to common login procedure for users. Any idea on a solution?

i "could" start using a lot of groups, and start securing the documents, problem is new users, and a lot of administration. Any nifty idea for an solution?

//Dave
Back to Top
khurram007 View Drop Down
Newbie
Newbie


Joined: 16 September 2004
Location: Pakistan
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote khurram007 Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2004 at 12:45pm
Did you mean you did the Active directory integration with WWF??? Can you let me know please how u did it.
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2004 at 11:21pm

there is a nt auth modekhurram.

As for your probelm, you can set ntfs permissions on that folder so only authorized users have access. Besides that it should be fairly easy to mod the forum, in a way that the files upload to a private directory, then when someone clicks a link that must be generated dynamically it gets streamed to the user, this link can be different every time. 4guysfromrolla has a tutorila on how to do that.

Back to Top
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Post Options Post Options   Thanks (0) Thanks(0)   Quote theSCIENTIST Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2004 at 6:31am
Don't use the username as dir name, but use the usercode instead, and I know other users can get the usercodes, but it should be better since they don't know you are using the usercode, for this to work, you cannot pass full URL's of the locations as you did above, send the call to a file that will dynamically make the connection to the file required, you must pass a value from the first file to the second, maybe the usercode reversed so it won't be obvious.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.