UnlimitedMB.comUnlimitedMB.com
Home    |    About Us    |    Forums    |    Signup    |    Login    |    Support
UnlimitedMB.com


 
UnlimitedMB.com



Go Back   UnlimitedMB.com Forums > Web Hosting > Help & Support

Reply
 
Thread Tools Display Modes
htaccess request.
  #1  
Old 1 Week Ago
thonguyenhuy thonguyenhuy is offline
Junior Member
 
Join Date: Oct 2007
Posts: 6
Default htaccess request.

First Thanks very much to UnlimitedMB for your service.
I have just registered and got a free account from you, and everything so far is amazing!
However, please allow me to request a right to use file .htaccess on my account.This file is very powerful and helpful tool for designing, controlling, and security system. For example: "Hotlink protection" which is stop user from copy image's link and waste server's bandwidth, "Ip Deny" which help to stop hacker from Denial-of-service attack(Dos) or distributed denial-of-service(DDos), and more. In addition, there is no harmful or any danger to our server by using this tool.
again, thanks for everything.

------------
Sorry, I didn't read Support FAQ in Help & Support forum before I post this request.

Last edited by thonguyenhuy : 1 Week Ago at 02:17 AM.
Reply With Quote
  #2  
Old 1 Week Ago
UnlimitedMB UnlimitedMB is offline
Administrator
 
Join Date: Jun 2006
Posts: 1,747
Default

htaccess is available for paid accounts only.

we already have hotlink protection, we will block any ips which are necessary ourselves.
__________________
Eric,
Admin

Please do not PM me unless I ask you.
Reply With Quote
  #3  
Old 1 Week Ago
thonguyenhuy thonguyenhuy is offline
Junior Member
 
Join Date: Oct 2007
Posts: 6
Default

Actually, I only need the hotlink protection for my php files. Maybe this is sound weird. But I'm building an ajax-php system for my website and I don't want anyone to brows php files accept server. Please help me on this.

Last edited by thonguyenhuy : 1 Week Ago at 02:36 AM.
Reply With Quote
  #4  
Old 1 Week Ago
UnlimitedMB UnlimitedMB is offline
Administrator
 
Join Date: Jun 2006
Posts: 1,747
Default

Nobody can view the code of your php files, only what it outputs.
__________________
Eric,
Admin

Please do not PM me unless I ask you.
Reply With Quote
  #5  
Old 1 Week Ago
thonguyenhuy thonguyenhuy is offline
Junior Member
 
Join Date: Oct 2007
Posts: 6
Default

Yes, that's right.
no one can view the php code. but i don't want they view what it outputs!
when using ajax, what php outputs is a part of the webpage. therefore when view it normally, look terrible.
Reply With Quote
  #6  
Old 1 Week Ago
thonguyenhuy thonguyenhuy is offline
Junior Member
 
Join Date: Oct 2007
Posts: 6
Default

I just figure out the way to solve this problem. anyway with a hotlink protection on php is better.
thanks for your support.

Last edited by thonguyenhuy : 1 Week Ago at 03:18 AM.
Reply With Quote
  #7  
Old 1 Week Ago
UnlimitedMB UnlimitedMB is offline
Administrator
 
Join Date: Jun 2006
Posts: 1,747
Default

I think you do not understand what hotlink protection is.

Hotlink protection stops other sites from directly linking to your files and images, it does not prevent your visitors from viewing your html code or javascript.

It is IMPOSSIBLE to protect against someone viewing the code, sure you can make it more difficult but its very easy to get around it.
__________________
Eric,
Admin

Please do not PM me unless I ask you.
Reply With Quote
  #8  
Old 1 Week Ago
thonguyenhuy thonguyenhuy is offline
Junior Member
 
Join Date: Oct 2007
Posts: 6
Default

Maybe I was wrong.
I thought it would stop users or other server viewing my php files by put this Hotlink protection code in htaccess.
Code:
SetEnvIfNoCase Referer "^http://localhost/" good #localhost could be server ip
SetEnvIfNoCase Referer "^$" good

   Order Deny,Allow
   Deny from all
   Allow from env=good
However, There are some other ways to get around this.
Reply With Quote
Reply

« Previous Thread | Next Thread »

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Switch to Linear Mode
Hybrid Mode Hybrid Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.







 



UnlimitedMB.com © 2006
Terms of Use | Report Abuse