|
-
Aug 18th, 2012, 06:24 PM
#1
Thread Starter
Addicted Member
-
Aug 19th, 2012, 07:28 AM
#2
Re: how to prevent a request from outside my website via .htaccess
Move 'files' up one level.
-
Aug 19th, 2012, 09:23 AM
#3
Re: how to prevent a request from outside my website via .htaccess
You could also create an htaccess file in that directory, with the statement:
That would deny direct access to the files in that directory.
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Aug 19th, 2012, 03:14 PM
#4
Thread Starter
Addicted Member
-
Aug 19th, 2012, 07:35 PM
#5
Re: how to prevent a request from outside my website via .htaccess
 Originally Posted by fjober
 nice trick from you mr. penagate 
It's the standard way of controlling access.
Even if the files are outside the web root directory, you can still serve them using a script, which also takes care of authentication.
-
Aug 19th, 2012, 07:46 PM
#6
Thread Starter
Addicted Member
Re: how to prevent a request from outside my website via .htaccess
hmmmm , double like thanks very much
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|