# Dynamic secured proxy

**URL:** <https://www.ruby-forum.com/t/dynamic-secured-proxy/152145>\
**Category:** Rails\
**Created:** [October 30, 2008, 3:01pm UTC](https://www.ruby-forum.com/t/dynamic-secured-proxy/152145 "2008-10-30T15:01:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [October 30, 2008, 3:01pm UTC](https://www.ruby-forum.com/t/dynamic-secured-proxy/152145/1 "2008-10-30T15:01:32Z")

</div>

I need a method of allowing an authenticated user to establish a proxied  
web session to a device via my rails app. The user will not be able to  
directly connect to the device due to subnets/firewalls, so all requests  
need to be sent via the public web server.

I looked into just using apache’s mod\_proxy, but this requires  
statically configuring all proxy entries in httpd.conf, and then those  
entries are always there. I need a way for a user to select a device  
via my web app, and then if they have the proper security access, open a  
web session to that device.

Does anyone know of a good way to accomplish this? Any pre-made gems  
out there do this?

Any help would be much appreciated.

Thanks!

-Jeff
