Link to home
Start Free TrialLog in
Avatar of Gula
GulaFlag for United States of America

asked on

secure files

I learned web develpment myself and the only way I know to secure files is using session object.
As long as the file is .php, it is fine, but the application I'm working on is suppose to serve pdf files,
now I'm in trouble.
I tried to keep files few levels above then the website root folder, but it didn't work.

How can I do this?

I'm saving the links to pdf files in database - MySQL, I know it is possible to store files in databases, but I have never done that and don't know if it works fine.

I thought someone with lot of experience in this could help

Thank you
ASKER CERTIFIED SOLUTION
Avatar of ldbkutty
ldbkutty
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gula

ASKER

That was usefull link, thank you
The only problem with it was that the system wouldn't allow me to create file that starts with dot (I tried all different access priveleges), so I did it throught servers settings file, I set up realm - they could have mentioned that.
There is no fun without problems :-)
Thanks.