grant access to premium content on a rails app from an external 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)
精彩评论