Cpanel

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

In my Cpanel i have "Password Protect Directories". Say i put a password and username on the dir music. if i make a link to a file in that dir to play music on my webpage would it play or not?

Im trying to make it so views cant download music but can lisen to them is this posible with using "Password Protect Directories"
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • darkermoon
  • Expert
  • Expert
  • User avatar
  • Posts: 542
  • Loc: Riverdale, MD

Post 3+ Months Ago

take a look at this, it doesn't use that part of cPanel but rather, a .htaccess file. it's pretty simple:

http://www.javascriptkit.com/howto/htaccess10.shtml

EDIT:
obviously, you'd need to change it a little bit to work with you, but I think it should do the trick.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

is there a way to make it so views cant down load anything from a dir with htaccess too?

like making it so they cant link directly to a file?
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Posts: 1211

Post 3+ Months Ago

just make it so that their is no index and its a vitural directory. that way they can't view it. and then make the song load in a frame w/o the outline so it looks like a part of the page. then when they look for the song they see nothing. and then the song page has the player on it.
  • darkermoon
  • Expert
  • Expert
  • User avatar
  • Posts: 542
  • Loc: Riverdale, MD

Post 3+ Months Ago

that works. the .htaccess method is a touch more secure... but more of a pain.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

but that doesnt stop them from going to a link and right click, save traget as. Is there way to make it so they get an error when they try to download the file like that?
  • darkermoon
  • Expert
  • Expert
  • User avatar
  • Posts: 542
  • Loc: Riverdale, MD

Post 3+ Months Ago

I thought you were going to embed stuff on the page. In this case, I think you'd have to be running (or using) some kind of on demand streaming. This is usually achieved with windows media server.. $30.00 would be typical for 100mb worth of songs at 64kbps with 20 listeners at any given time. You can get this through audiorealm.com
  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

You could always use Flash to stream the sound in.
  • Rat
  • Guru
  • Guru
  • User avatar
  • Posts: 1190
  • Loc: desk

Post 3+ Months Ago

You can try using a JavaScript too disable the right click..
  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

Rat wrote:
You can try using a JavaScript too disable the right click..


If you tap 'Enter' then 'Right Click' fast enough this is easily overcome.
  • Rat
  • Guru
  • Guru
  • User avatar
  • Posts: 1190
  • Loc: desk

Post 3+ Months Ago

Enigma wrote:
Rat wrote:
You can try using a JavaScript too disable the right click..


If you tap 'Enter' then 'Right Click' fast enough this is easily overcome.



Ooo...thanks for the tip. I didnt know that.
  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

No probs. 8)
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Posts: 1211

Post 3+ Months Ago

even if you did they could still view the source. best way would probally htaccess it and then do wat i said. but i have no idea.
  • meman
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap

Post 3+ Months Ago

Some browsers have an option to disable the disabled right click, so by disabling the disabled right click it enables it ........
  • Rat
  • Guru
  • Guru
  • User avatar
  • Posts: 1190
  • Loc: desk

Post 3+ Months Ago

whatlikesit12345 wrote:
even if you did they could still view the source. best way would probally htaccess it and then do wat i said. but i have no idea.


Encrypt the code.
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Posts: 1211

Post 3+ Months Ago

its so easy to decrypt
  • Rat
  • Guru
  • Guru
  • User avatar
  • Posts: 1190
  • Loc: desk

Post 3+ Months Ago

Encrypt it 5 times! XD

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.