Log in

View Full Version : Downloading Attatchment Permissions


Infinity101
10-26-2006, 06:54 PM
Hello,

I have been curious how I can add certian permissions for usergroups for downloading attatchments. For example, a guest can download 1 attatchment per day type of thing. I have a general idea how it can be done, however I'm unsure how I can prevent a guest from simply clearing their cookies and exploit the permissions.

Any help or suggestions would be greatly appreciated.

Ntfu2
10-27-2006, 12:45 AM
Id like to hear how you plan on making it so they can only do x amount per day, per user group

Infinity101
10-27-2006, 12:58 AM
Id like to hear how you plan on making it so they can only do x amount per day, per user group
My concept would be editing attatchment.php and add in the appropriate location (a long the lines of) <if usergroupid == #> <if DownLNum == #> cannot download </if> </if> </else>

Of course that is a rough explanation on the concept I'm thinking of.