Page 1 of 1

hiding code / URL from non-administrators

Posted: 12 Feb 2011, 08:22
by BearDrummer
I have a need for which someone from the Joomla! forum suggested Phoca Download.

I am trying to store several MP3 audio files, and create a site to sell them. I need to be able to keep them hidden and unable to be downloaded until they are paid for. I need the code from the page the customer sees to not show where the files are stored. I also need to be able to write a page for each MP3 that automatically starts a download when the payment broker accepts payment. (The broker has a "payment button" code that I can use to sell visualization001.mp3, and if the payment goes through,, it sends the customer to the page I am trying to be able to create. There is a different page if the payment was not sucessful)

That was confusing.

I need 4 things.
  • I need to be able to store mp3's where they can't be downloaded except by a webpage that is stored in my group of pages.
  • I need to be able to have that page so that people can't look at the code and figure out how to find the mp3's, and still lets them download the mp3.
  • I need to be able to give the URL for that page to the company that accepts credit card payments.
  • I need a different URL for each current mp3, and the ability to make a new page for each new mp3.
Will Phoca Download help with that?

Re: hiding code / URL from non-administrators

Posted: 13 Feb 2011, 16:50
by Jan
Hi,

1) you can set your own path where to store the files to download, they can be outsite public_html (see settings of Phoca Download)
2) see above
3) you can use then login - only logged in users can see the link to download and can download
4) you can use the file view

Jan

Re: hiding code / URL from non-administrators

Posted: 21 Feb 2011, 07:41
by BearDrummer
It has taken me a little while to get it working, but it seems to do exactly what I needed. I am operating some of the sales from the test Joomla! folder (site/test) so that the actual site (site/j15) can be used to allow for subscription pages...

This is a great product, and you are definitely on the list once we turn a profit.

Re: hiding code / URL from non-administrators

Posted: 21 Feb 2011, 10:39
by BearDrummer
I have discovered a problem. There is a green circle with an arrow on the page that the link takes you to. It allows people to navigate through the files that phoca has stored. I need to stop this, because each of these files is a separate sale.

How do you stop navigation ability for the user?

Re: hiding code / URL from non-administrators

Posted: 23 Feb 2011, 22:32
by Jan
Hi, the navigation can be disabled in parameters.

Jan

Re: hiding code / URL from non-administrators

Posted: 26 Feb 2011, 01:32
by BearDrummer
found the parameters, and turned off the navigation. One more question... (I hope the last one)

I need to figure out how to keep someone from looking at the URL, seeing the file number, and just changing it to gain access to a different page.

To work for its needed function, the article (file) needs to be set as public, so it can be accessed whether or not the person is logged in.

If I were able to assign the ID, instead of having it go 1,2,3,4,etc., then I could randomize enough to be reasonably effective.

Do you have an idea how to do this? Any other ideas on how to make the URL different enough to foil the curiosity of the average human?

Re: hiding code / URL from non-administrators

Posted: 05 Mar 2011, 14:50
by Jan
Hi, this is standard way, the same way someone other can try to display hidden article if he will try to add other article number.

The component is protect against it, if the file is not accessible, it will be not downloaded or displayed, like the article in Joomla! e.g.


I don't know any such function but if you will "fake" the id, then someone will not try to add standard is, but the "fake" ids and the same proccess will beginning. :idea:

Jan