/    Sign up×
Community /Pin to ProfileBookmark

Is it possible to obscure MP3 directory?

So … my client has a Flash radio with song selections pointing to mp3’s in an audio directory on his server. Is it possible to obscure that directory (.htaccess or otherwise) while still enabling the Flash radio to call them up? I realize that the relentless fans will find them if they can, but would like to at least make it as difficult as possible.

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@ray326Mar 15.2004 — You can put them in a directory outside of the document root tree and use server-side (php, cgi/perl, asp, etc.) techniques to access them.
Copy linkTweet thisAlerts:
@misspauthorMar 15.2004 — The site is hosted on a shared server (via a hosting reseller acct), so I am not sure whether this method will be allowed. Is there any security risk involved with doing this?

Also ... since I'm not a programmer, is there a server-side cgi (or php) script you (or anyone out there) would recommend to accomplish this?

Thanks a TON ?
Copy linkTweet thisAlerts:
@ray326Mar 16.2004 — The site is hosted on a shared server (via a hosting reseller acct), so I am not sure whether this method will be allowed. Is there any security risk involved with doing this?[/QUOTE]
A lot of hosts at least let you run Perl scripts for CGI; obviously YMMV. The security is a lot higher than giving them direct access but your supporting scripts have to be right.
Also ... since I'm not a programmer, is there a server-side cgi (or php) script you (or anyone out there) would recommend to accomplish this? [/QUOTE]
AFAIK this kind of thing is usually custom although the technique is similar to the hit counter services.
Copy linkTweet thisAlerts:
@misspauthorMar 16.2004 — Hi Ray,

I was referring to security risk of placing files "outside of the document root tree" not the cgi access. Unless I misunderstood you? I assumed that meant outside the public_html dir? which on a shared server could be an issue ... no?
×

Success!

Help @missp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...