Forums / Setup & design / Roles and Permissions

Roles and Permissions

Author Message

John Smith

Monday 21 March 2005 3:37:58 am

hi there,

In my site, I have two sections of site, one for visitors and the another from the members. Obviously the members has to be logged in to access the restricted area of the site. Members can also see the visitors section of the site when logged in. Upto here, it is fine. Now when I uploaded/attached a pdf file with an articles in the visitors and members sections of the site, I can download both pdf files present in public and members section of site while i am logged in or logged out. I want the members pdf url to give access denied error when the members are logged out and accessed by visitors.

The roles and permissions for members section are given below

content read Section( Standard , Members Only )
user all functions No limitations
content bookmark No limitations
notification use No limitations
content pdf Section( Members Only )
content read Class( File ) , Section( Media , Members Only )

The roles and permission for visitors section are given below

content read Section( Standard )
content pdf Section( Standard )
rss read No limitations
user login SiteAccess( franchise )
content read Class( File ) , Section( Standard , Media )

Please help.

Cheers

Frederik Holljen

Wednesday 23 March 2005 1:05:20 am

when you upload pdf files they usually go into the files folder in the multimedia tab. Probably everyone has read access there..

John Smith

Wednesday 23 March 2005 1:13:45 am

thanks Frederik Holljen for your kind reply, you said, "they usually go into the files folder in the multimedia tab", then what should be the solution for my problem

Please help.

cheers

Frederik Holljen

Wednesday 23 March 2005 1:28:37 am

First, check if this is actually the case for your pdf files (take a look around and see if you can find them).

If they are indeed all in the same location. The solution is probably to add a directory for the pdf files that should be private and set specific permissions on that folder (or on the original folder if all pdf files should be private to the members only)