Welcome to Geeklog Monday, December 11 2017 @ 02:50 am EST


Status: offline

mthomas

Forum User
Full Member
Registered: 18/04/2004
Posts: 148
I know I have seen a question/request for this someplace, perhaps on geeklog.net.

I will be making a hack for Filemgmt to allow for secured file stores. IE it would not be direct links such as mysite.com/filedata/data.txt.

Instead I will be submitting a "fpassthrough" php command to retreive file from the specified file store, same setup process as before except it will no longer need to be placed in the plublic_html path.

This allows for a more secure downloads section and makes it a perfect launch point to being implimenting group security on downloads, which may be my next project.

The Issue with this commnd is that you must also supply a filetype "applicatin/text" type var, to get around the need to identify each file type I will use octet stream as my file type since that can be used for any file type. That said some non-standard browsers might balk at it, however IE, Netscape, Opera and other major or at least well developed browsers should work fine.

Any donations toward this project should go to Blaine on www.portalparts.com, as my office is paying me to do this, and he is the original developer of this plugin and IMO should be praised for his work on Geeklog and Geeklog plugins.

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/2002
Posts: 13073
Location:Stuttgart, Germany
Using Geeklog's Download class (system/classes/downloader.class.php) may save you some work ...

bye, Dirk

Status: offline

mthomas

Forum User
Full Member
Registered: 18/04/2004
Posts: 148
Probably would but in part this is learning experiance for me, if this is a better way people should use that method. That said this will be a interm change till I take alook at the downloader-uploader class

Status: offline

mthomas

Forum User
Full Member
Registered: 18/04/2004
Posts: 148

All times are EST. The time is now 02:50 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content