Posted by ZeldorBlat on 12/05/06 13:25
mpar612 wrote:
> ZeldorBlat, that worked great. Thank you!
>
> I'm relatively new to all of this. For scrubbing the data, I added a
> unique id to each row of the db table. This is auto incremented each
> time a new row is added. So rather than sending the path and name of
> the file through the URL, I am just sending the unique id. Is this
> acceptable for security purposes?
>
> Thanks again!
That's better -- it would only allow people to download the file if it
appears in a row in the database. But it doesn't, however, prevent me
from getting a file that only you should see. If all the files are
supposed to be accessible to everyone then that's fine -- but it
doesn't provide any sort of per-user authorization.
[Back to original message]
|