Jamie Derrick
Jamie Derrick
  • Male
  • Salisbury, Wiltshire
  • United Kingdom
Share on Facebook Share on Facebook Share Twitter

Jamie Derrick's Friends

  • Amy Stephen

Jamie Derrick's Groups

 

Jamie Derrick's Page

Latest Activity

Profile Icon
Mathias Verraes replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
There's a simple mnemonic for that: "Files go in the file system, data goes in the database". Now say it with me ;-) When you use .htaccess with "deny from all", always make sure that it actually works. Apache config can be…
May 26, 2010
Profile Icon
Jamie Derrick replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
Also, can I just add, this is the first time I have asked a development question in ATAAW and I am incredibly impressed at the time it has taken to get some really good quality responses. Massive thanks to Amy for putting this site together and…
May 18, 2010
Profile Icon
Jamie Derrick replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
I get the idea - don't store files in the database! (I wasn't going to anyway)
May 18, 2010
Profile Icon
Matt Thomson replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
I attached the file (with vars specific to my server removed).
May 18, 2010
Profile Icon
Amy Stephen replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
Yes! Thanks! :)
May 18, 2010
Profile Icon
Matt Thomson replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
I made my own little component to download files from a secure location (http://www.ignitejoomlaextensions.com/component/option,com_idownloader/lang,en/), it is only one file (no admin interface, but if you want, I can post it somewhere.
May 18, 2010
Profile Icon
Amy Stephen replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
Great question - @Matt Thomson - thanks for that answer. MUCH appreciated!
May 17, 2010
Profile Icon
Matt Thomson replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
I think there is a scalability problem with files in the database. I back up my site files manually once a month or so, but I have my database emailed to me once every week. I can do this becuase my database is only 10MB. If my database has 100…
May 17, 2010
Profile Icon
Alain Rivest replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
I think it would be easier to store the file directly in the database. Your component check if that user has the right to download the file and send it to the browser. That way you don't have to mess with a htaccess file or a directory outside…
May 17, 2010
Profile Icon
Jamie Derrick replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
Genius! I knew it would have something to do with that head content thing. Thanks mate, I'll give it a go right a way
May 17, 2010
Profile Icon
Matt Thomson replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
I know of 2 methods to get round this: 1.)Store the files in (for example) media/restricted_downloads, and put a .htaccess file in there that denys from all. Then once you have done you acl, read the file, and send it to the browser, eg something…
May 17, 2010
Profile Icon
Jamie Derrick replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
Thank you for so much for your your replies. This is a completely custom development. I am well aware of the getUser method but the part thats baffling me is this: If someone who has the right to download the file is given the link to the file in…
May 17, 2010
Profile Icon
Martin Rasser replied to Jamie Derrick's discussion 'secure document download help needed' in the group Developers
remository might be worth checking out.
May 17, 2010
Profile Icon

secure document download help needed

Thumbnail
Hello all,Please could someone point me in the right direction...I need to develop some code in a Joomla component where by a file can be downloaded by only one user - so it is restricted by the user ID of the logged in user.If the user is not the user authorised to download the file in question then they may not download the file, even if the have a direct link for it.What's the best way to go about this?Even the smallest little pointer would be of superb help.Thanks in advance.JamieSee More
Jamie Derrick added a discussion to the group Developers May 17, 2010
Profile Icon
Jamie Derrick replied to Jamie Derrick's discussion 'Resend activation email' in the group Developers
Reading back on what Brian has said, I think he may have a point about needing a work flow. Before I dive in and create a nice shiney button that resends activation emails to everyone who hasnt fully registered, should we perhaps go a bit further in…
Nov 10, 2009
Profile Icon
Jamie Derrick replied to Jamie Derrick's discussion 'Resend activation email' in the group Developers
I will have a look at the feature patch tracker if i get a chance tonight, thanks for that Amy. Will probably post anything I come up with here first though as suggested. @Brian - The time where this is an issue is where emails get sent out but…
Nov 10, 2009

Profile Information

Please share a bit about your Joomla! Experience and yourself. The more information you provide the quicker we will be able to process your membership.
I have been working with Joomla for around 4 years. Over the years I have developed modules, plugins and components including a complex multi-site component for a large insurance company.
Business Web site
http://www.bluefrontier.co.uk
Blog
http://www.jderrick.co.uk
Twitter
http://www.twitter.com/jamiederrick

Comment Wall

You need to be a member of All Together, As A Whole to add comments!

Join All Together, As A Whole

  • No comments yet!
 
 
 

Badge

Loading…

© 2012   Created by Amy Stephen.

Badges  |  Report an Issue  |  Terms of Service