Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Linux Operating System > Web/Security
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 09-03-2008, 12:45 AM   #1 (permalink)
voineyz
Junior Member
 
Join Date: Sep 2008
Posts: 1
Default htacccess help

Hello all,

I've looked at some htaccess tutorials but I cant seem to find an answer to this problem:

I have a flash game in directory /www/forums/game which accesses text files in folder /www/forums/game/data/

I can I allow the flash game to read the text files but not let a user point through the browser to the text file and read them?

I put this in the htaccess in the data folder which contains the text files:

Code:
Order deny,allow
deny from all
Allow from 127.0.0.1
but this blocked the access when going through the browser such as : forums.com

But then the flash game could not read the questions from the text file folder.

Any help would be appreciated.
voineyz is offline   Reply With Quote
Sponsored Links
Old 09-10-2008, 11:57 AM   #2 (permalink)
vbplusme
Junior Member
 
Join Date: Sep 2008
Posts: 9
Default Re: htacccess help

How are you expecting the user to access the data folder?

If you put a Options -index at the top of a .htaccess file they won't be able to index the directory. Is that something like what you were thinking?
vbplusme is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View:
Points Per Thread:
Points Per Reply:



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 12:26 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums