SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 74 forks source link

Provide option to protect all URLs including media #26

Open micah-uber opened 8 years ago

micah-uber commented 8 years ago

We have a need to SAML protect all URLs including media.

pitbulk commented 8 years ago

Hi @micah-uber have you found any other plugin that offer this kind of functionality?

I only know a way to protect media files, and is by made some configurations on (apache/nginx) as described on that page, Configure Apache or Nginx to check for the cookie if the request URI matches. And at our SAML plugin we don't have any control over the server.

When the user is logged by SAML, we are already adding a cookie saml_login = 1 that you can change and add a "secret" value to be checked on the apache, as described on the page I shared