Hi all,
I previously logged a question asking how to automatically log a user
into Apache Basic Authentication without displaying the standard
username/password dialog from the browser.
I have since come to realise this is not possible, I'll have to use my
own system with session cookies etc. Kewl
My question now is, if I'm managing the login with php sessions, whats
to stop somebody coming along and directly accessing an image without a
username/password?
I should probably expand, what I want to do is set up a simple login so
customers can login and view there own content, a preview. This
obviously needs some level of security. I'm not looking to set up Fort
Knox, but I would like a reasonable amount of security so that I can
restrict who looks at the content. Can anybody point me in the
direction of a reasonable solution.
Troot
ps My host (Apache based) has PHP, ZEND, PERL, CURL and control over
Basic Authentication on particular directories. No MySQL or advancded
SSL/Certificates.
I previously logged a question asking how to automatically log a user
into Apache Basic Authentication without displaying the standard
username/password dialog from the browser.
I have since come to realise this is not possible, I'll have to use my
own system with session cookies etc. Kewl
My question now is, if I'm managing the login with php sessions, whats
to stop somebody coming along and directly accessing an image without a
username/password?
I should probably expand, what I want to do is set up a simple login so
customers can login and view there own content, a preview. This
obviously needs some level of security. I'm not looking to set up Fort
Knox, but I would like a reasonable amount of security so that I can
restrict who looks at the content. Can anybody point me in the
direction of a reasonable solution.
Troot
ps My host (Apache based) has PHP, ZEND, PERL, CURL and control over
Basic Authentication on particular directories. No MySQL or advancded
SSL/Certificates.
Comment