php forum
php mysql forum
php mysql smarty
 
Topic Options
#104499 - 08/27/02 11:02 AM .htaccess q
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
I'm sure there is a way, but does anyone know how to block files from being viewing in the webbrowser but can be opened by a script on the same server?

Top
#104500 - 09/01/02 05:51 PM Re: .htaccess q
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
depends on how your server is setup, if you're on apache, then you can define a file prefix that will not allow the browser to grab a file which matches, my default apache blocks access to file prefixes .ht (used for .htaccess .htpasswd) so you could add your own prefix there or simple use that same prefix?

Hope this helps!
_________________________
I can't afford a good signature editor frown

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks