如何隐藏用户的URL [英] How to hide your URL from users

查看:118
本文介绍了如何隐藏用户的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以隐藏您网站上访问者的网址。



例如:



如果我的主页网址是http://www.mydomain.co.za/pages/home.php。



如何将其更改为例如http://www.mydomain.co.za?



我不想出现/pages/home.php,原因如下:



我可能在页面上有文件下载,如果用户可以在/files/myfile.zip中找出这些文件,那么他可以像这样下载它。为什么这个问题?让我们说用户需要为文件付费或者他需要订阅。



冗长,无用的故事简短。我该怎么做呢?



在此先感谢,

克里斯

解决方案

可能你正在寻找对于称为 URL重写的技术: http://en.wikipedia.org/wiki/URL_rewriting [ ^ ]。



请参阅: http://bit.ly/15pnap6 [ ^ ]。



-SA

I was wondering if it is possible to hide your URL from visitors on your site.

For example:

If my homepage URL is http://www.mydomain.co.za/pages/home.php.

How do I change that to for instance http://www.mydomain.co.za?

I do not want to show the /pages/home.php for reasons like:

I might have a file download on the page and if a user can figure out that these files are for instance in /files/myfile.zip then he can download it like that. Why is this n problem? Lets say the user needs to pay for the file or he needs to subscribe.

Long, useless story short. How do I do this?

Thanks in advance,
Chris

解决方案

Probably you are looking for the technique called URL rewriting: http://en.wikipedia.org/wiki/URL_rewriting[^].

Please see: http://bit.ly/15pnap6[^].

—SA


这篇关于如何隐藏用户的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆