Warning: Table './interoperating/mark_sessions' is marked as crashed and should be repaired query: SELECT u.*, s.* FROM mark_users u INNER JOIN mark_sessions s ON u.uid = s.uid WHERE s.sid = 'um2q4a488hjm599dchud0atpq3' in /home/.sites/99/site76/web/interoperating.info/mark/includes/database.mysql.inc on line 174
Survey: What kinds of modules or configurations are people using to restrict access to nodes and files? | Mark's web presence

Survey: What kinds of modules or configurations are people using to restrict access to nodes and files?

[This is a duplicate of http://drupal.org/node/215646]

In order to make search_attachments respect access permissions better, I need to know what modules and/or access control configurations people are using to restrict access to nodes that files might be attached to.

Currently, search_attachments respects the access control strings defined in each file management modules' hook_perm() permission strings, and also filters all node nids returned in a search through a list of node nids that the current user is allowed to view as defined by the query db_query(db_rewrite_sql("SELECT nid FROM {node}")). However, several users have reported problems with this approach.

I would appreciate search_attachments users who are implementing any access control modules to test whether things are working as expected for files retrieved in searches. Specifically, in the current version (5.x-3) of the module, users who are allowed to view a node are also allowed to view any files attached to the node, and each user's search results should only contain files that he is allowed to view.

A similar question that will assist me while developing the next version, which allows users to search files that are not attached to nodes, is what modules/configurations people are using to restrict access to files uploaded via webfm and other modules that do not require attaching files to nodes, or access to files that are FTPed to their Drupal sites (I would appreciate hearing about the latter in particular).

Please leave a comment describing how you're restricting access to nodes and/or files. Thank you.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.