limit acces files

Security issues related to php and mysql usage. How to make your code secure? Security measures and configurations? It's all in here!

Moderators: macek, egami, gesf

cool4cools
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Apr 11, 2006 11:29 pm

limit acces files

Postby cool4cools » Tue Apr 11, 2006 11:34 pm

:offtopic:
how do i give an ip restriction to an file without restarting the server?
and on toppic :D
Example

i have users upload files true php and storing links to mysql
and only the user who have uploaded the file may download it
so i need ip restriction without restarting the server
or an other idea to have url that only gives specific users acces?
does enyone know how to build this? :help: 8)

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Postby Alexej Kubarev » Wed Apr 12, 2006 11:07 am

i think its better that you do that via a php script.. like check for IPs and stuff..
however you talk about restarting the server... that means you want it via apache configuration? well how about .htaccess files?


Return to “PHP & MySQL Security”

Who is online

Users browsing this forum: No registered users and 0 guests