FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Nested PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Nested PHP [message #184870 is a reply to message #184867] Wed, 12 February 2014 11:33 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/12/2014 5:13 AM, Adrian Tuddenham wrote:
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>> On 2/11/2014 10:31 AM, Adrian Tuddenham wrote:
>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>
>>>> On 2/11/2014 9:31 AM, Adrian Tuddenham wrote:
>>>> > Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>> >
>>>> > [...]
>>>> >> My main question here would be - what are you trying to accomplish by
>>>> >> having files encrypted on your server. Since the decryption code is
>>>> >> right in plain sight, encrypting the files adds no security. If they
>>>> >> can get to your raw files, they can get to your decryption code.
>>>> >
>>>> > I'm not trying to produce a high-security system, just something which
>>>> > deters the casual user from downloading PDFs that members of the group
>>>> > have paid their membership fee to receive. I doubt if anyone wants to
>>>> > go to all the trouble of decrypting a PDF file in order to avoid paying
>>>> > £7.50
>>>> >
>>>>
>>>> First of all, you don't need to go to all the trouble of encrypting a
>>>> pdf to make it unavailable to the casual user. Just place the file
>>>> outside of your document_root hierarchy and download it with PHP.
>>>
>>> I have no access to the server outside my own directory.
>>>
>>
>> Then I would suggest you change hosting companies. Any decent hosting
>> company will give you access to one level below your web root directory.
>> I wouldn't host with one which does not.
>
> I may have unintentionally misled you because of my ignorance of server
> terminology. I might be able to do what you suggest, but I have no idea
> how to do it. I presume that raises questions outside the the scope of
> a php newsgroup and is something I should folow up separately.
>
>

Yes, it's out of the range of this newsgroup. However, it's an
important feature any time you need to control access to files.

And yes, there are some companies out there which don't allow access
outside of the document root. I would not host with any of these companies.


--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Filling an array with random input doesn't quite work
Next Topic: string length
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 20:40:30 GMT 2024

Total time taken to generate the page: 0.03932 seconds