Hey everyone, I don't even know where to begin with this. I need to limit folder access to only those members who are allowed to access them. For example, I'm creating a folder /5/ within a folder called /orderreports/ for the order id 5. I need to check which user in my database has access to that folder (I know how to do that much..), but then I need to limit all of the folders in /orderreports/ so that they can only be accessed by those who area allowed. Any ideas on where to start?
Encrypted 0 Junior Poster in Training
Recommended Answers
Jump to Post— Usernamex235 0Wouldn't that still allow access to directories via uri? For example if the "sensitive" file was located at what's to stop someone (or a bot) finding that file by …
Jump to Post— Usernamex235 0You can store (relatively small) files such as documents in a mysql database in a "BLOB" (binary long object) field and then query them as easily as a normal string. It's actually easier than it may seem at first, believe me ;)
Here is a brilliant tutorial:
All 5 Replies
Usernamex235 0 Junior Poster in Training
jeeter19 -2 Light Poster
Usernamex235 0 Junior Poster in Training
Encrypted 0 Junior Poster in Training
Usernamex235 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.