I would like to disable node access by url, but allow people to view pieces of data, such as through Views.

People would be able to use the Finder module to access data, but I do not want people or bots to be able to access the entire node.

My goal is to maintain privacy, unless someone enters the correct information in Finder.

Comments

nevets’s picture

You can use a module like field permissions to limit add/edit/view permission per field. That way you could limit who can view the fields to people logged in with the proper role. Otherwise you can use a module like content access to restrict view access to the node and views will still show if permission checks are disabled.

itserich’s picture

Hello -

Thanks, so you mean I can deny access to the node but allow access to the data through a View by allowing that role or whatever the case?

Thanks, I had not thought of that. I had tried a View with an unpublished node which did not work.

dalehgeist’s picture

If anyone reading this thread wonders how they can deny access to a node to, say, anonymous users, yet still have the node show up in a View for those users, take it from someone who tried five different methods: your best friend is Views 3.x. Use your preferred method of access restriction like Content Access, TAC, or even native, to restrict access to certain nodes. Then, in Views 3.x, go to Advanced Settings > Query Settings, and check "Disable SQL rewriting". This allows data from restricted nodes to be seen by all users, including anonymous ones.

broncomania’s picture

Hey dalehgeist, 1000 thx for your explanations! This info helped me a lot...

Patribus’s picture

xanks