I want to use the drupal user roles to restrict access on certain non-drupal pages. can I do this?

Comments

WorldFallz’s picture

Yes. Use one of the access control modules (ie simple_access, node_privacy_byrole, content_access, etc).

Madbreaks’s picture

Those all look to be *node* access control modules, the original quesiton was to control access to non-drupal pages (which i interpreted to mean, freestanding php for example which may hook into Drupal via bootstrap). I'm following up because I have the same question. Thanks.

WorldFallz’s picture

duh-- sorry I missed the "non" part of non-drupal. Don't know of any way for drupal to do that-- but you might be able to use http://drupal.org/project/securesite to use http authentication for both drupal and the rest of the site.