Domanda

I have my data (including pdf and images) stored on the /data folder in the root folder. I access these files through one of the actions (i.e. /index/view/path/to/file/in/data/folder).

Are these files searchable on Google? I want to now use ACL to limit access to /index/view, and so hopefully only allow people with certain permissions to view these files.

È stato utile?

Soluzione

Bot is visiting links that finds on you site. If nothing is heads to these files, it should not be indexed by Google. But for sure you should make some check if user which requests file have permissions for it.

You can configure ACL that only authenticated user can access index action from your controller. But if some files should be public, then check must take place in Controller.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top