CCK filefields
Hi!
I have a page with a view that shows some informations through cck fields (text and filefields).
I want all users to see the information shown by this view but i don't want anonymous users to be able to click and download the filefield file.
I've tried cck content permissions but this module only set field-level permissions to grant permissions to view or/and edit this fields, so it isn't useful for my purpose.
Now, I'm trying Path Access module but it's not working like I supposed it would.
So, my question is
- if the restricted path is something like "sites/default/files/folder1/fileX.pdf" or "sites/default/files/folder1/*" it is supposed to work?
- or it only works if I change the path to someting like "www.domain.com/sites/default/files/folder1/*"? (when in a webserver, now i'm still working locally)

=-=
you should probably be using the private file system with the files stored above the public root.
Although, why not make 2 views ? one for anon users where there is no link to the files and one for authenticated where there is a link to the files?
Thank's for your
Thank's for your reply.
Making 2 views kinda solved my problem. Now i have an issue with restricted access.
So, i've inserted my two views in a panel-page and set the correspondent access (view for anonymous users only accessed by anonymous and view for registered users only access by these) but what i'm getting is:
- for anonymous users everything works fine, they can only access their view;
- for authenticated users i'm having a problem, they can see their own view and the anonymous view as well.
I've restricted access in panel-pane and i've set the view basic settings to be restricted to correspondent roles as well.
Where am I missing?
_
Just be aware that restricted views does not protect the actual files-- anyone with the url or who can guess the url of the file can download it. if you want truly protected files, there's a couple of methods that don't involve the 'private' file setting:
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
yes, i am aware of that,
yes, i am aware of that, thank's anyway for the advice ;)
Now i've decided to hide the file filed in the view for anonoymous users.
But i'm having the same problem again.
In this page, an anonymous user just see their view but a registered one see both views. And it's not making sense because i've restricted access in both places (basic settings in each view and besides that i've restricted the access in pane configuration).
Anyone has a sugestion?