Help Me , Please (protect file uploads)

They have: 1 posts

Joined: Jan 2007

Hey Guys

I have a Big Entertainment Network including forums hosted on my own server and i have ordered another big space with a great bandwith to upload many files on it and let my members download it but i want tofind a script to protect the files i will upload and if any one tried to download it he will be asked for a username and password and he must enter his username and password [ his username and password in my forums ] to let him download the files

Note : im using Invision Power Board 2.1.7

Please HELP me

THX Guys

He has: 1,758 posts

Joined: Jul 2002

In all honesty, this would be a massive job and not something we could really talk you through on a forum like this. You would need to write a script to check the script referrer to prevent unwanted sites linking to your content. You would also need to find a way to check the user is logged in before serving the file to them. Obviously, if you know how the IPB cookie is formatted you could theoretically just check for that...

Andy

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.