View previous topic :: View next topic |
Author |
Message |
ccs -
Joined: 02 Apr 2005 Posts: 101
|
Posted: Sun Dec 30, 2007 8:00 am Post subject: Is it possible to 'hide' exact URL? |
|
|
I have an on-line reservation application that uses a number of small CGI programs (compiled exes) to gather the necessary data. After the initial page, each subsequent page is one of these CGIs that validates the info, then generates the next page in the process. All of this works just fine, however, the names of my CGI programs are displayed on the Address: line of the browser. This isn't a huge deal, but it gives a potential cracker one less obstacle to deal with.
Preferably, I'd like to keep this address as the first page (ie: www.mysite.com/reservations.htm) all the way through. Is this possible somehow? Would url rewriting (which I don't understand at all) be useful here?
Appreciate any/all ideas. :) |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 30, 2007 11:57 pm Post subject: |
|
|
You can use an iframe or similar to do this but it won't keep it totally hidden, just means they have to right click and hit properties/page info to see the URL. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1296
|
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Tue Jan 01, 2008 2:34 pm Post subject: Re: Is it possible to 'hide' exact URL? |
|
|
ccs wrote: | Preferably, I'd like to keep this address as the first page (ie: www.mysite.com/reservations.htm) all the way through. Is this possible somehow? Would url rewriting (which I don't understand at all) be useful here?
Appreciate any/all ideas. :) |
You couldn't keep the URL the same through each step with separate executables. One URL can only represent one file.
You might use URL rewriting to have nice URLs, such as /reservations/page1 and reservations/page2 -- or descriptive URLs -- like /reservations/info and reservations/confirm...
One thing to consider with URL rewriting when using executables: you'll have to update the executable's output. Specifically, you'll need to change each form's action tag with the nice rewritten URL. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
markspenser -
Joined: 23 Jul 2009 Posts: 14
|
Posted: Wed Apr 07, 2010 11:47 am Post subject: i am agree with admin |
|
|
You can follow him |
|
Back to top |
|
|
|