URL Masking

I tough to find info elsewhere in the forums on this….

Are usually best way in order to mask a URL so that end users can’t workout the directory structure of your site I realise that if I were to utilize a frame then I could truthfully have the address inside URL box always stating http: //www. kisstroyer. com but there is certainly surely a healthier way to mask URLs than to make use of crappy frames.

Best way to help mask urls is usually to use an exe or even dll for your whole page generation. But any url masking can cause you issues with se positioning.

On earth do you explain further how you can generate pages along with exe and dll to get url masking

Basically you produce a script which returns whatever is requested through the browser using a few (potentially variable) identifier.

eg. Let’s say you might have some files you only plan to be accessible once, or only with a certain time for example. Store these records outside your " public" path on line server.

Write the script to reply to requests like this particular:
http: //www. instance. com/masking-script. cgifileid=007

by first transmitting the Content-type -header after which it the contents belonging to the file (eg. Content-type: text/html, < html>… < /html> or even Content-type: image/jpg and so forth. ).

If you’re with an Apache node then the mod_rewrite is things you need. The RewriteRule enables you to take your personalized URL and alter it into whatever you have to to really always be, without the user seeing the actual URL. They might find your domain appoint, but not a person’s file structure. Your. htaccess file also can restrict their admission to your diretory.

Instance http: //yourdomain. com/wedgie/smith could possibly really be http: //yourdomain. com/cgi-bin/mx/pd. cgi/some-stuff

Worth investigating.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *