Erwin Moller писал(а):
Quote:
Erwin Moller ?????(?):
>
mistral wrote:
Is there some handy URLs encryption method, to convert it into a
non-user readble format that still works on all browsers? I saw some
examples which escapes characters in the URL address into the 'escaped'
representation, but they may be suitable for long URLs, its too
noticeable and simplified for short URLs..
Quote:
You could have a look at mod_rewrite for Apache, but I don't expect
encrypting/decrypting an URL will be 'handy'.
Quote:
where you decode jHgyrRWfdjkLKhj into mydir/mysubdir/myscript.php
Quote:
I am curious: What is the point?
Do you want to hide pathinfo?
If so: That won't give real security, only obscurity.
Quote:
Regards,
Erwin Moller
Hi,
not sure for mod_rewrite for Apache, I have no unix. The point is
obscure URL, to hide patch info, include domain.
Quote:
Hi,
>
mod_rewrite is indeed Apache only, but Apache is running great on W$ for
years now. (From W2000 and higher)
No reason to stick with that securityhole called IIS if you can get Apache
for free. (if you use IIS in the first place. :P )
Quote:
If you are stuck with IIS for some reason, I don't know how to do the trick
easily.
Quote:
Of course you can roll your own, like this:
http://example.com/redirectme.php?obsured=HUIKHKJJHG
where you translate HUIKHKJJHG to a real URL to which you redirect.
You can store the HUIKHKJJHG in a Database and the real path also.
Or you can make your own 'scramble' routine that does something similar.
Quote:
Of course you also have to pass all extra get or post parameters too to the
script you redirect to.
Quote:
Regards,
Erwin Moller
----------------------------------------
I meant direct url obfuscating, without involving of Apache or IIS.
Just cloacking url into something like
http://d3d3Lmdvb2dsZS5jb20vdGhlcGFnZS9wYXRjaC8= or similar, but
recognizable by web browsers.
I tried encode url into base64, but browser not recognize url.
thanks,
Mistral