开发者

grant access to premium content on a rails app from an external proxy server

开发者 https://www.devze.com 2023-01-05 19:20 出处:网络
We want to gran开发者_StackOverflow社区t automatic access to premium content (that is ordinarily password protected)to student client requests coming via their university\'s proxy server.

We want to gran开发者_StackOverflow社区t automatic access to premium content (that is ordinarily password protected) to student client requests coming via their university's proxy server.

Any ideas on how to go about this for a ruby on rails app?


You could check request.remote_ip and make a decision to skip authorization (if thats what you are asking)

0

精彩评论

暂无评论...
验证码 换一张
取 消