URL Hiding

Greetings friends,

Please, take my apologies, if the question was asked before.

I`m interested to find out, how to integrate URL hiding technology into Rails app. Any help will be helpful.

Thanks in Advance

What do you mean of URL hiding?? can you give an example??

Someting like Amazon`s strings, which are generating as url`s.


I still have no idea what you're talking about.

Maybe you could provide an actual example, or explain what goal you are trying to achieve?

The idea is generating url`s which will hide what is the database used to store the information and hiding the server side language wrapper. example:

the idea is in the string generated after the product/ folder

What do *your* URLs look like now that gives away the DB and server-side language?

Hiding the database shouldn't require any additional work beyond making sure your error messages don't point out that the database is.

Hiding the server side language is harder... regardless of what URL you use.

For example... if /images/rails.png exists, good chance it's Rails :slight_smile: Lots of people forget to remove it.

Or, if the server sends back the following header...

X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.5

Good chance it's Rails. You can configure it not to do this, but there are other ways too... just look for common Rails idioms (asset timestamping, etc.)

Dig deeper at the network level and you can even figure out the OS in many cases...

Just saying that it's probably not possible to truly hide this information from someone determined enough to get it.