That being said, DO NOT tell me I could have found it on google with a simple search
All joking aside, here's the prob:
--- the problem ---
Allowing user access to a downloaded file after purchase.
Simply stated, I have a folder which includes ALL images available, in bloggie, small, medium and large size. .htaccess denies access to all of them except the watermark previews and thumbnail versions for search results.
Code: Select all
<FilesMatch "[0-9]*(medium|bloggie|small)\.(jpg|eps|png)|[0-9]{4}.(jpg|eps|png)">
Order Deny,Allow
Allow from localhost
Deny from All
</FilesMatch>I'm looking for any ideas that give a simple solution. If it involves fetching permissions from the mysql database, using apache functions, or simple php tricks, I'd love to know it! I just don't want to re-write files or alter anything.
Thanks guys. Off to bubba-gump!
Leo